{php}othername2('',0,1){/php}更多
-
{php}
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_cooperation')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND classid ='5115' ORDER BY `pid` ASC,`id` DESC limit 0,8 ";
$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[title1].' '.date("Y-m-d",$v[dtime]).' '; } echo $other1; {/php}
{php}othername2('',1,1){/php}更多
-
{php}
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_cooperation')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND classid ='5116' ORDER BY `pid` ASC,`id` DESC limit 0,8 ";
$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];
$lsit2[]=$rows;
}
foreach($lsit2 as $v){
$other2 .= '
- '.$v[title1].' '.date("Y-m-d",$v[dtime]).' '; } echo $other2; {/php}
{php}othername2('',2,1){/php}更多
-
{php}
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_cooperation')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND classid ='5117' ORDER BY `pid` ASC,`id` DESC limit 0,8 ";
$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];
$lsit3[]=$rows;
}
foreach($lsit3 as $v){
$other3 .= '
- '.$v[title1].' '.date("Y-m-d",$v[dtime]).' '; } echo $other3; {/php}