Installation, updates, manuals and APIs.
Code, issues, development roadmap.
Custom job offers.
Send us your sales or general questions.
$aChunks = preg_split ("/[,]+/", $sMediaIDs, -1, PREG_SPLIT_NO_EMPTY);
$iMedId = $aChunks[0];
$sSql = "SELECT * FROM `ClassifiedsAdvertisementsMedia` WHERE `MediaID` = {$iMedId}";
$aSqlRes = db_arr ($sSql);
if ($aSqlRes) {
$sFileName = $site['url']. $this -> sUploadDir .'thumb_'.$aSqlRes['MediaFile'];
if ((int)$iID == 0) {
$sFileName = $site['url']. $this -> sUploadDir .'big_thumb_'.$aSqlRes['MediaFile'];
$sFileNameFullSize see more