* @version $id SVN
* @access public
* @license http://opensource.org/licenses/gpl-3.0.html
*/
//////////// Check Inclusion de pages ////////////
if (!function_exists('AuthenthificationProcess')){
include_once("../lib/lib_common.php");
ReloadIndex('admin');
}
////////////
if(isset($_GET['state'])) {
$state=$_GET['state'];
if(isset($_POST['id'])) $yp_id=$_POST['id'];
if(isset($_GET['id'])) $yp_id=$_GET['id'];
$yp_object= new yellowpages;
$result_update=$yp_object->StateYellowPages($yp_id, 'P', $sql_object);
$link_confirm="confirm.php?rub=".$rub."&todo=mod&id=".$yp_id;
if (ALERT_DIRECTORY==1) {
include_once(themePath('../yellowpages/mail_actions.php'));
include_once('../mail/template.php');
}
echo $result_update;
if($result_update) header("Location: ".$link_confirm);
else system_error();
}
if(!isset($_GET['id']) && !isset($_POST['id'])) {
$id="1";
} else {
if(isset($_POST['id'])) $id=$_POST['id'];
if(isset($_GET['id'])) $id=$_GET['id'];
}
$req_det= SQL_getdetyp($id);
$result=$sql_object->DBSelect($req_det);
$link_det=$rub_link."&todo=det&id=";
$link_det_theme="index.php?rub=theme&todo=det&id=";
$link_sup=$rub_link."&todo=sup&id=";
$link_mod=$rub_link."&todo=mod&id=";
$navtitle=_t('yp','det')." : ".$result[0]['yellowp_name'];
$display_title=formatTitleh2($result[0]['yellowp_name']);
?>
"; ?>
"; ?>
- :
- -1) echo "".formatText($result[0]['theme_name'], '2HTML')."
";
else echo _t('yp','notheme')."";
?>
- :
- :
- :
- :
- :
- :
- :
- :
- " .formatText($result[0]['yellowp_email'], '2HTML')."";?>
- :
- "")
echo "".formatText($result[0]['yellowp_website'], '2HTML')."
";
else echo formatText(empty_nc($result[0]['yellowp_website']), '2HTML')."";
?>
- :
- :