<tr> <td><a href="http://www.sylc-export.com/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_01.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/presentation/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_02.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/media/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_03.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/inventaire/classic-cars/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_04.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_05.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/acheter-une-voiture/voiture-americaine-occasion-ancienne/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_06.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/importer-voiture-americaine-auto/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_07.gif" alt=" " style="display:block; border:0;" ></a></td> <td><a href="http://www.sylc-export.com/news/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_08.gif" alt=" " style="display:block; border:0;"></a></td> <td><a href="http://www.sylc-export.com/contact/"><img src="' . DEFAULT_ADMIN_URL . '/sylc/img/menu1_09.gif" alt=" " style="display:block; border:0;" ></a></td> </tr> </table> </td> </tr>'; $news_banner_image = ''; $dynamic_editor_text = $common_object->getNameById(TBL_BANNER_TEMPLATE, "id=1"); $news_banner_image = $dynamic_editor_text->banner_image; //banner $full_data .= '<tr> <td style="padding-bottom:9px;"> <img src="' . DEFAULT_ADMIN_URL . '/images/banner_template/' . $news_banner_image . '" alt=" " style="display:block; border:0px;width:600px;" > </td> </tr>'; //banner $full_data .= '<tr> <td style="padding-bottom:9px;"> <table cellpadding="0" cellspacing="0" style="background: #555555; width:600px;" width="600"> <tr> <td width="300" style="width:300px; text-align:left; color:#fff; font-size:18px; padding-top:5px; padding-bottom:5px; padding-left:5px"> Les affaires du moment</td> <td width="300" style="width:300px; text-align:right; color:#fff; font-size:14px; padding-top:5px; padding-bottom:5px; padding-right:5px;">
<?php /******************************************************************************************************************** #Coder : Manoj Pandit #Description : This Code is used to display list of all product and remove any on them *********************************************************************************************************************/ extract($_GET); extract($_POST); $obj_block = new common(); $currentTimestamp = getCurrentTimestamp(); if ($model_id != '' && $action == 'delete') { $logoname = $obj_block->getNameById(TBL__HTMLTEMPLATE, 'id=' . $model_id); /*if($logoname->image!='') { @chmod(LIST_ROOT_ADMIN."/images/new_model/",0777); unlink(LIST_ROOT_ADMIN."/images/new_model/".$logoname->image); }*/ $deleteProduct = $obj_block->delete(TBL__HTMLTEMPLATE, 'id =' . $model_id); $_SESSION['msg'] = 'Car Template Successfully Deleted'; unset($obj_block); echo '<script>location.href="' . DEFAULT_ADMIN_URL . '/htmltemplate/index.php";</script>'; exit; } $getBlock = $obj_block->read(TBL__HTMLTEMPLATE, '', ' creation_date DESC'); unset($obj_block);
<?php /******************************************************************************************************************** #Coder : Keshav Sharma #Description : This Code is used to display list of all product and remove any on them *********************************************************************************************************************/ extract($_GET); extract($_POST); $obj_block = new common(); $currentTimestamp = getCurrentTimestamp(); if ($bid != '' && $action == 'delete') { $logoname = $obj_block->getNameById(TBL_USED_CAR, 'id=' . $bid); //chmod(DEFAULT_ADMIN_URL."/images/used_car/image/",0777); if ($logoname->image != '') { unlink(LIST_ROOT_ADMIN . "/images/used_car/image/" . $logoname->image); } //chmod(DEFAULT_ADMIN_URL."/images/used_car/dispo/",0777); if ($logoname->dispo != '') { unlink(LIST_ROOT_ADMIN . "/images/used_car/dispo/" . $logoname->dispo); } $deleteProduct = $obj_block->delete(TBL_USED_CAR, 'id =' . $bid); $_SESSION['msg'] = 'Car Successfully Deleted'; unset($obj_block); echo '<script>location.href="' . DEFAULT_ADMIN_URL . '/used_car/index.php";</script>'; exit; } $getBlock = $obj_block->read(TBL_USED_CAR, '', ' creation_date DESC');
<?php /******************************************************************************************************************** #Coder : Manoj Pandit #Description : This Code is used to display list of all product and remove any on them *********************************************************************************************************************/ extract($_GET); extract($_POST); $obj_block = new common(); $currentTimestamp = getCurrentTimestamp(); if ($model_id != '' && $action == 'delete') { $logoname = $obj_block->getNameById(TBL_NEW_MODEL, 'id=' . $model_id); /*if($logoname->image!='') { @chmod(LIST_ROOT_ADMIN."/images/new_model/",0777); unlink(LIST_ROOT_ADMIN."/images/new_model/".$logoname->image); }*/ $deleteProduct = $obj_block->delete(TBL_NEW_MODEL, 'id =' . $model_id); $_SESSION['msg'] = 'New Model Successfully Deleted'; unset($obj_block); echo '<script>location.href="' . DEFAULT_ADMIN_URL . '/new_model/index.php";</script>'; exit; } $getBlock = $obj_block->read(TBL_NEW_MODEL, '', ' creation_date DESC'); unset($obj_block);
<?php /******************************************************************************************************************** #Coder : Keshav Sharma #Description : This Code is used to display list of all product and remove any on them *********************************************************************************************************************/ extract($_GET); extract($_POST); $obj_block = new common(); $currentTimestamp = getCurrentTimestamp(); if ($bid != '' && $action == 'delete') { $logoname = $obj_block->getNameById(TBL_BRANDS, 'id=' . $bid); //chmod(DEFAULT_ADMIN_URL."/images/brands",0777); if ($logoname->logo != '') { unlink(LIST_ROOT_ADMIN . "/images/brands/" . $logoname->logo); } $deleteProduct = $obj_block->delete(TBL_BRANDS, 'id =' . $bid); $_SESSION['msg'] = 'Car Successfully Deleted'; unset($obj_block); echo '<script>location.href="' . DEFAULT_ADMIN_URL . '/brands/index.php";</script>'; exit; } $getBlock = $obj_block->read(TBL_BRANDS, '', ' creation_date DESC'); unset($obj_block);