"; if($row["pic"] != ""){ echo " "; }else{ echo " "; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
"; }elseif($row["dby"] == 1){ echo " "; if(!empty($row["pic"])){ echo " "; }else{ echo " "; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
"; }elseif($row["dby"] == 2){ echo "
"; if($row["pic"] != ""){ echo " "; }else{ echo "   "; } echo "
"; } } } echo '
Hide All
'; }else{ $result = mysql_query("Select * From `detail` Where `cno` = '$_GET[cno]' && `cid` = '$_GET[cid]' Order By `sort` Asc , `dno` Asc "); while($row = mysql_fetch_array($result)){ if($row["dby"] == 0){ echo " "; if($row["pic"] != ""){ echo " "; }else{ echo " "; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
"; }elseif($row["dby"] == 1){ echo " "; if(!empty($row["pic"])){ echo " "; }else{ echo " "; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
$row[$txt_descrip] "; if(!empty($row["dfile"])){ echo "
$row[dfile]
"; } echo "
"; }elseif($row["dby"] == 2){ echo "
"; if($row["pic"] != ""){ echo " "; }else{ echo "   "; } echo "
"; } } echo '
View All
'; } ?>
.jpg" width="300" height="61">
"; if($row["pic"] != ""){ echo " "; }else{ echo " "; } echo "
$row[$txt_topic]
"; } ?>