Application




AC

DC



"; $col=0; for($i=0; $i<$recCount; $i++){ $col=$col+1; if($col>3){ echo ""; $col=1; } if($arrData[$i][4]){ $path_img = $arrData[$i][4]; }else{ $path_img = "p.png"; } $app_id=$arrData[$i][0]; $sSql2 = "SELECT id, app_id"; $sSql2 .=" FROM sub_apps WHERE app_id=$app_id and locked=0"; $result2 = openDb($sSql2); $recCount2 = mysql_affected_rows(); if ($result2){ $arrData2 = array(); while ($rows2 = mysql_fetch_array($result2)) {$arrData2[] = $rows2;} }else{ return false; die(); } echo ""; if($recCount2>0){ echo "
"; ?>
".$arrData[$i][3]."
"; }else{ echo "".$arrData[$i][3].""; } } echo ""; ?>