{php}othername2(){/php}
{if $get.cid eq '5115' || $get.cid eq '5116' || $get.cid eq '5117' }
{if $get.coopid eq '' }
{else}
-
{php}
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_cooperation')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND classid ='". $_GET['cid']."' ORDER BY `pid` ASC,`id` DESC ";
$query = $GLOBALS['dbes']->query($sql);
$lsit =array();
while ($rows = $GLOBALS['dbes']->FetchRow($query)){
$pic_one = explode("#",$rows['pic']);
$rows['pic_one'] = $pic_one[0];
$rows['content_len'] = cutstr($rows['content'],20);
$s_title = explode("###",$rows['title']);
$rows['title1'] = $s_title[0];
$rows['title2'] = $s_title[1];
$lsit[]=$rows;
}
foreach($lsit as $v){
$other1 .= '
- '.$v[title2].' '.date("Y-m-d",$v[dtime]).' '.$v[title1].' '; } echo $other1; {/php}
{php}other('','sieleir','200','170'){/php}
{/if}
{else}
{php}other('','sieleir','200','170'){/php}
{/if}