public void showFlash()
{
IList<NewsArticle> articleList = article.ListNewsArticleByRows("22",500);
int count = 0;
string pics = "";
string links = "";
string texts = "";
for (int i = 0; i < articleList.Count; i++)
{
NewsArticle articleNew = (NewsArticle)articleList[i];
if (articleNew.Content == "")
{
continue;
}
string content = ((NewsArticle)articleList[i]).Content;
int firstIndex = content.LastIndexOf("src=");
if (firstIndex < 0)
{
continue;
}
else
{
int lastIndex = content.LastIndexOf("jpg")+3;
string fileName = content.Substring(firstIndex+5,lastIndex-(firstIndex+5));
//fileName = "images/a1.jpg|images/a2.jpg|images/a3.jpg|images/a4.jpg|images/a5.jpg";
pics += fileName;
links += "PhySituationDetails.aspx?;
this.flashTD.InnerHtml= innerHtml;
}