Example #1
0
				<tr>
					<td width="15%">Traduction Key :</td>
					<td><?php 
if (!empty($arrData['traduction']['traduction_key'])) {
    echo $arrData['traduction']['traduction_key'];
} else {
    echo '';
}
?>
</td>
				</tr>
				<tr>
					<td>Page :</td>
					<td><?php 
if (!empty($arrData['traduction']['page_id'])) {
    echo $objPage->getOne(array("page_id" => $arrData['traduction']['page_id']), "page_name");
} else {
    echo '';
}
?>
</td>
				</tr>
				
				<tr>
					<td colspan="2">
						<div id="tabs">
							<ul>
								<?php 
foreach ($arrLanguage as $key => $data) {
    ?>
									<li><a href="#tabs_<?php 
<?php

$did = $this->objUrl->get('did');
$objPage = new Page($this->objLanguage);
if (!empty($did)) {
    $objPage->remove($did);
    Helper::redirect($this->objUrl->getCurrent(array('a', 'id', 'did')) . '/a/index');
} else {
    $id = $this->objUrl->get('id');
    if (!empty($id)) {
        $page = $objPage->getOne($id);
        if (!empty($page) && !in_array($id, $objPage->not_removable)) {
            require_once 'header.php';
            ?>

<h1><?php 
            echo $this->objLanguage->labels[21];
            ?>
 : <?php 
            echo $page['name'];
            ?>
</h1>

<p>
	<?php 
            echo $this->objLanguage->labels[40];
            ?>
<br />
	<a href="<?php 
            echo $this->objUrl->getCurrent('id') . '/did/' . $id;
            ?>
<?php

$objPage = new Page($this->objLanguage);
$page = $objPage->getOne(3);
$this->parsePage($page);
require_once 'header.php';
echo $this->content;
?>

<p class="orange dn" id="unsuccessful"><?php 
echo $this->objLanguage->labels[38];
?>
</p>

<p class="yellow dn" id="successful"><?php 
echo $this->objLanguage->labels[39];
?>
</p>

<form method="post" id="contact-form">
	<table class="tbl_insert">
		<tr>
			<th class="full_name">
				<label for="full_name">
					<?php 
echo $this->objLanguage->labels[1];
?>
: *
				</label>
			</th>
		</tr>