HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/fickanzeiger/compiled/admin/arfooo_template/en/c_1_category_index_tpl.php
<?php require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/function.cycle.php'); $this->register_tmp_function("cycle", "tpl_function_cycle");  require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/function.html_options.php'); $this->register_tmp_function("html_options", "tpl_function_html_options");  require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/block.capture.php'); $this->register_tmp_block("capture", "tpl_block_capture");  /* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2014-05-15 12:21:56 CEST */ ?>

<?php $this->_tag_stack[] = array('tpl_block_capture', array('assign' => "headData")); tpl_block_capture(array('assign' => "headData"), null, $this); ob_start(); ?>
<link href="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/css/upload.css", 'resurl', 'plugin', 1); ?>
" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/config', 'url', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.chainSelect.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.fileUploader.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.charCounter.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.autoFill.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.livequery.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/json.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.tablednd.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery-validate/jquery.validate.js', 'resurl', 'plugin', 1); ?>
"></script>
<link href="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/jquery/theme/ui.all.css", 'resurl', 'plugin', 1); ?>
" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery-ui.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.keywordSelector.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.form.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.adminFormTool.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/admin/javascript/ad/jquery.adEditor.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.popup.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.itemEditor.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/admin/javascript/category/indexOnLoad.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/tiny_mce/tiny_mce.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/tiny_mce/basic_config.js', 'resurl', 'plugin', 1); ?>
"></script>
<link href="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/jquery/tooltip/jquery.tooltip.css", 'resurl', 'plugin', 1); ?>
" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/tooltip/jquery.tooltip.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.ajaxUpload.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/jquery/jquery.addTooltip.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript">
setting.siteDescriptionMaxLength = 0;
setting.maxKeywordsCountPerSite = 1000; // admin has no limit 
setting.categoryId = <?php echo $this->_vars['parentCategoryId']; ?>
;
setting.adPage = "category<?php echo $this->_vars['parentCategoryId']; ?>
";
setting.adPage2 = "siteCustomCategory<?php echo $this->_vars['parentCategoryId']; ?>
";
tinyMCE.execCommand('mceAddControl', false, 'categoryDescription');
<?php if ($this->_vars['setting']['siteDescriptionHtmlEnabled']): ?>
tinyMCE.execCommand('mceAddControl', false, 'itemDescription');
<?php endif;  if (! empty ( $this->_vars['tempId'] )): ?>
setting.tempId = "<?php echo $this->_vars['tempId']; ?>
";
<?php endif; ?> 
</script>

<?php $this->_block_content = ob_get_contents(); ob_end_clean(); $this->_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this); echo $this->_block_content; array_pop($this->_tag_stack); ?>

<?php 
echo $this->_fetch_compile_include('includes/header.tpl', array('page' => "index",'title' => "Websites and categories management",'metaDescription' => "Websites and categories management"));
 ?>

<div id="left">

<?php 
echo $this->_fetch_compile_include('menu/menuleft/menuleftIndex.tpl', array());
 ?>

</div>

<div id="right">
</div>

<div id="middle">
<div class="column">

<div id="show_arbo">
<a href="<?php echo $this->_run_modifier('/admin/', 'url', 'plugin', 1); ?>
">Directory</a> &gt; <a href="<?php echo $this->_run_modifier('/admin/category', 'url', 'plugin', 1); ?>
">Websites and categories</a> &gt; <a href="<?php echo $this->_run_modifier('/admin/category', 'url', 'plugin', 1); ?>
" class="link_bold">Root</a> <?php if (count((array)$this->_vars['categoryParentsData'])):  foreach ((array)$this->_vars['categoryParentsData'] as $this->_vars['category']): ?> &gt; <a href="<?php echo $this->_run_modifier("/admin/category/index/" . $this->_vars['category']['categoryId'] . "/", 'url', 'plugin', 1); ?>
" class="link_bold"><?php echo $this->_vars['category']['name']; ?>
</a>
<?php endforeach; endif; ?>
</div>

<div class="title_h_1">
<h1>Websites and categories management</h1>
</div>
<div class="column_in">
<a href="<?php echo $this->_run_modifier('/admin/category', 'url', 'plugin', 1); ?>
" class="link_bold">Root</a>
<?php if (count((array)$this->_vars['categoryParentsData'])):  foreach ((array)$this->_vars['categoryParentsData'] as $this->_vars['category']): ?> &gt; <a href="<?php echo $this->_run_modifier("/admin/category/index/" . $this->_vars['category']['categoryId'] . "/", 'url', 'plugin', 1); ?>
" class="link_bold"><?php echo $this->_vars['category']['name']; ?>
</a>
<?php endforeach; endif; ?>
<br /><br />
<select name="parentCategoryId" id="categoriesSelect">
<option value="0">Root</option>
<?php echo tpl_function_html_options(array('options' => $this->_vars['categoriesSelect'],'selected' => $this->_vars['parentCategoryId']), $this);?>
</select>
</div>

<div class="column_in_table">
<table class="table1" cellspacing="1" id="categoriesTable">
<thead>
<tr>
    <th>Categories name</th>
    <th>Submission allowed</th>
    <th>Management</th>
</tr>
</thead>
<tbody>
<?php if (count((array)$this->_vars['categories'])):  foreach ((array)$this->_vars['categories'] as $this->_vars['category']): ?>
<tr class="line<?php echo tpl_function_cycle(array('values' => '1,2'), $this);?>" id="categoriesTable-row-<?php echo $this->_vars['category']['categoryId']; ?>
">
    <td><a href="<?php echo $this->_run_modifier("/admin/category/index/" . $this->_vars['category']['categoryId'] . "", 'url', 'plugin', 1); ?>
">
        <img src="<?php echo $this->_run_modifier("/uploads/images_categories/" . $this->_vars['category']['imageSrc'] . "", 'resurl', 'plugin', 1); ?>
" alt="" class="categories" /> <?php echo $this->_vars['category']['name']; ?>
</a>&nbsp;&nbsp; (<?php echo $this->_vars['category']['validatedSitesCount']; ?>
)</td>
    <td><?php if ($this->_vars['category']['possibleTender']): ?><span class="text_green">Yes</span><?php else: ?><span class="text_red">No</span><?php endif; ?></td>
    <td><a href="<?php echo $this->_run_modifier("/admin/category/edit/" . $this->_vars['category']['categoryId'] . "", 'url', 'plugin', 1); ?>
" class="link_green">Edit</a> |
        <a onclick="return $.confirmLinkClick('Do you really want to delete it?', this.href)" href="<?php echo $this->_run_modifier("/admin/category/delete/" . $this->_vars['category']['categoryId'] . "", 'url', 'plugin', 1); ?>
" class="link_red">Delete</a></td>
</tr>
<?php endforeach; endif; ?>
</tbody>
</table>
</div>

<div class="title_h_2">
<h2><?php if (empty ( $this->_vars['currentCategory'] )): ?>Create Categorie<?php else: ?>Create Subcategorie in <?php echo $this->_vars['currentCategory']['name'];  endif; ?></h2>
</div>
<div class="column_in_table2">
<form action="<?php echo $this->_run_modifier('/admin/category/saveCategory', 'url', 'plugin', 1); ?>
" method="post" enctype="multipart/form-data">
<input type="hidden" name="parentCategoryId" value="<?php echo $this->_vars['parentCategoryId']; ?>
" />
<table class="table2" cellspacing="1">
<tbody>
<tr>
    <td>Category name: </td>
    <td><input type="text" class="input_text_large" name="name" value="" /></td>
</tr>
<tr>
    <td>Category HTML title (optional): </td>
    <td><input type="text" class="input_text_large" name="title" value="" /></td>
</tr>
<tr>
    <td>Navigation name (optional): </td>
    <td><input type="text" class="input_text_large" name="navigationName"/></td>
</tr>
<tr>
    <td>&lt;h1&gt;&lt;/h1&gt; tag (optional): </td>
    <td><input type="text" class="input_text_large" name="headerDescription"/></td>
</tr>
<tr>
    <td>Meta description (optional): </td>
    <td><textarea name="metaDescription" class="textarea_metas" ></textarea></td>
</tr>
<tr>
    <td>Submission in the category allowed: </td>
    <td><input type="radio" name="possibleTender" value="1" checked="checked" /> On &nbsp;&nbsp;<input type="radio" name="possibleTender" value="0" /> Off</td>
</tr>
<tr>
    <td>Forbidden category <img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/icone_info.gif", 'resurl', 'plugin', 1); ?>
" alt="" class="aide" title="The websites presents in this category will not be displayed in the pages top, the new page, the searcher, the random websites on the index page." /></td>
    <td><input type="radio" name="forbidden" value="1" /> On &nbsp;&nbsp;<input type="radio" name="forbidden" value="0" checked="checked" /> Off</td>
</tr>
<tr>
    <td>Category Image <img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/icone_info.gif", 'resurl', 'plugin', 1); ?>
" alt="" class="aide" title="Sets an image for the category." /></td>
    <td><input type="file" class="input_text_medium" style="width:247px;" name="categoryImage" /></td>
</tr>
<tr>
    <td>Text to be displayed in the category (optional) <img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/icone_info.gif", 'resurl', 'plugin', 1); ?>
" alt="" class="aide" title="Category description for more targeted content for SEO" /></td>
    <td><textarea class="textarea_extra_large" name="description" cols="50" rows="5" id="categoryDescription"></textarea></td>
</tr>
<tr>
    <td></td>
    <td><input type="submit" class="button" value="Create"  /></td>
</tr>
</tbody>
</table>
</form>
</div>

<?php if ($this->_vars['parentCategoryId']): ?>

<div class="title_h_2">
<h2>Websites in categorie <?php echo $this->_vars['currentCategory']['name']; ?>
</h2>
</div>
<div class="column_in_table2">
<table class="table1" cellspacing="1">
<thead>
<tr>
    <th>Websites name</th>
    <th>Websites is banned</th>
    <th>Backlink</th>
    <th>Management</th>
</tr>
</thead>
<tbody>
<?php if (count((array)$this->_vars['sites'])):  foreach ((array)$this->_vars['sites'] as $this->_vars['site']): ?>
<tr class="line<?php echo tpl_function_cycle(array('values' => '1,2'), $this);?>">
    <td><a href="<?php echo $this->_run_modifier("/admin/site/edit/" . $this->_vars['site']['siteId'] . "", 'url', 'plugin', 1); ?>
" title="<?php echo $this->_vars['site']['siteTitle']; ?>
"><?php echo $this->_vars['site']['siteTitle']; ?>
</a></td>
    <td><?php if ($this->_vars['site']['status'] == 'banned'): ?><span class="text_red">Yes</span><?php else: ?><span class="text_green">No</span><?php endif; ?></td>
    <td><?php if ($this->_vars['site']['returnBond'] == ''): ?><span class="text_red">No</span><?php else: ?><span class="text_green">Yes</span><?php endif; ?></td>
    <td><a href="<?php echo $this->_run_modifier("/admin/site/edit/" . $this->_vars['site']['siteId'] . "", 'url', 'plugin', 1); ?>
" class="link_green">Edit</a> |
        <a onclick="return $.confirmLinkClick('Do you really want to delete it?', this.href)" href="<?php echo $this->_run_modifier("/admin/site/delete/" . $this->_vars['site']['siteId'] . "", 'url', 'plugin', 1); ?>
" class="link_red">Delete</a></td>
</tr>
<?php endforeach; endif; ?>
</tbody>
</table>

<?php 
echo $this->_fetch_compile_include("includes/pageNavigation.tpl", array());
 ?>

</div>

<div class="title_h_2">
<h2>Add website in <?php echo $this->_vars['currentCategory']['name']; ?>
</h2>
</div>
<div class="column_in_table2">
<form action="<?php echo $this->_run_modifier('/admin/site/saveSite', 'url', 'plugin', 1); ?>
" method="post" enctype="multipart/form-data" id="itemForm">
<input type="hidden" name="categoryId" value="<?php echo $this->_vars['parentCategoryId']; ?>
" />
<input type="hidden" name="forceCategoryDuplicate" value="0" />
<input type="hidden" name="forcePossibleTender" value="0" />
<input type="hidden" name="status" value="validated" />
<input type="hidden" name="tempId" value="<?php echo $this->_vars['tempId']; ?>
"/>
<div class="column_in_subbmit_first">
General information
</div>
<div class="column_in_subbmit_out">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody>
<?php if ($this->_vars['setting']['countryFlagsEnabled']): ?>
<tr>
    <td>Website language: </td>
    <td><select name="countryCode" class="" id="countryCode">

        <option value=''>Select website language</option>
        <?php echo tpl_function_html_options(array('options' => $this->_vars['countryFlags']), $this);?>
        </select>
        <img src="" alt="" id="countryFlagImage" style="display:none;" />
    </td>
</tr>
<?php endif; ?>
<tr>
    <td>Webmaster: </td>
    <td><select name="webmasterId">
        <option value="0">Admin</option> 
        <?php echo tpl_function_html_options(array('options' => $this->_vars['webmasters']), $this);?>
        </select></td>
</tr>
<tr>
    <td>Name: </td>
    <td><input type="text" class="input_text_large" name="webmasterName" value="" /></td>
</tr>
<tr>
    <td>Email: </td>
    <td><input type="text" class="input_text_large" name="webmasterEmail" value="" /></td>
</tr>
<tr>
    <td>Website title: </td>
    <td><input type="text" class="input_text_large" name="siteTitle" value="" /></td>
</tr>
<tr>
    <td>Website adress (URL): </td>
    <td><input type="text" class="input_text_metas" name="url" value="http://" /> <input type="button" class="button" value="Metas" name="metaTagButton"/></td>
</tr>
<tr>
    <td>RSS feed title:</td>
    <td><input type="text" class="input_text_large" name="rssTitle" value="" /></td>
</tr>
<tr>
    <td>RSS feed adress (URL):</td>
    <td><input type="text" class="input_text_large" name="rssFeedOfSite" value="" /></td>
</tr>
<tr>
    <td>Backlink adress (URL):</td>
    <td><input type="text" class="input_text_large" name="returnBond" value="" /></td>
</tr>
<tr>
    <td>Website description:</td>
    <td>
    <?php if ($this->_vars['setting']['siteDescriptionHtmlEnabledAdmin']): ?>
        <input type="radio" name="descriptionDisplayMethod" value="text"> Texte
        <input type="radio" name="descriptionDisplayMethod" value="htmlAdmin" checked="checked"> Html admin<br />
    <?php endif; ?>
    <textarea class="textarea_extra_large" name="description" cols="50" rows="5" id="itemDescription"></textarea><br/>
    <span id="descriptionCharsLeftCounter"></span> characters
    </td>
</tr>
</tbody>
</table>
</div>
<?php if ($this->_vars['setting']['itemGalleryImagesEnabled']): ?>
<div class="column_in_subbmit">
Images
</div>
<div class="column_in_subbmit_out1">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody>
<tr>
    <td>Add images:</td>
    <td><div id="fileUploadPanel" class="fileUploader">
        <input type="button" id="uploadGalleryImageButton" class="button" value="Add gallery image"/><br/><br/>
        </div>
    </td>
</tr>
</tbody>
</table>
</div>
<?php endif; ?>
<div class="column_in_subbmit">
Additional fields
</div>
<div class="column_in_subbmit_out">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody id="itemFormExtraFields">

</tbody>
</table>
</div>

<div class="column_in_subbmit">
Keywords
</div>
<div class="column_in_subbmit_out">

<table class="table2" cellspacing="1" id="keywordsSelectTable">
<col class="col3" /><col class="col4" />
<textarea style="display:none;" id="keywordRowTemplate">
<tr>
    <td>Keyword <?php echo '{0}'; ?>
:</td>
    <td><select name="keywords[]">
            <option value=""> Select keyword </option>
                <?php if (count((array)$this->_vars['allKeywordsList'])):  foreach ((array)$this->_vars['allKeywordsList'] as $this->_vars['keywordId'] => $this->_vars['keyword']): ?>
                <option value="<?php echo $this->_vars['keywordId']; ?>
" ><?php echo $this->_vars['keyword']; ?>
 </option>
                <?php endforeach; endif; ?>
        </select></td>
</tr>
</textarea>
</table>
</div>



<?php if ($this->_vars['setting']['companyInfoEnabled']): ?>
<div class="column_in_subbmit">
Company information
</div>
<div class="column_in_subbmit_out">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody>
<tr>
    <td>Adress:</td>
    <td><input type="text" class="input_text_large" name="address" value="" /></td>
</tr>
<tr>
    <td>postal code:</td>
    <td><input type="text" class="input_text_large" name="zipCode" value="" /></td>
</tr>
<tr>
    <td>City:</td>
    <td><input type="text" class="input_text_large" name="city" value="" /></td>
</tr>
<tr>
    <td>Country:</td>
    <td><input type="text" class="input_text_large" name="country" value="" /></td>
</tr>
<tr>
    <td>Phone number:</td>
    <td><input type="text" class="input_text_large" name="phoneNumber" value="" /></td>
</tr>
<tr>
    <td>Fax number:</td>
    <td><input type="text" class="input_text_large" name="faxNumber" value="" /></td>
</tr>
</tbody>
</table>
</div>
<?php endif; ?>

<div class="column_in_subbmit">
Others informations, settings
</div>
<div class="column_in_subbmit_out">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody>
<tr>
    <td>Priority order:</td>
    <td><select name="priority">
       <?php echo tpl_function_html_options(array('options' => $this->_vars['priorites']), $this);?>
        </select></td>
</tr>
<tr>
    <td>&nbsp;</td>
    <td><div id="siteLoader" style="display:none;"> Checking website... <img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/loader.gif", 'resurl', 'plugin', 1); ?>
"></div></td>
</tr>
<tr>
    <td>&nbsp;</td>
    <td><input type="submit" class="button" value="Create" /></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>

<form id="editAdsForm">
<div class="title_h_2">
<h2>Advertisement in <?php echo $this->_vars['currentCategory']['name']; ?>
</h2>
</div>
<div class="column_in_table2">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody>
<tr>
    <td>Predefine advertisement <img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/icone_info.gif", 'resurl', 'plugin', 1); ?>
" alt="" class="aide" title="If this option is enabled, ads will be activated automatically. Ads will be displayed in category and on the website according to your settings." /></td>
    <td><input type="radio" name="predefine" value="1" /> On &nbsp;&nbsp;<input type="radio" name="predefine" value="0" /> Off</td>
</tr>
<tr>
    <td>Activate Advertisement: </td>
    <td><input type="radio" name="general" value="1" /> On &nbsp;&nbsp;<input type="radio" name="general" value="0" /> Off</td>
</tr>
</tbody>
</table>
</div>

<div class="title_h_2">
<h2>Advertisement in <?php echo $this->_vars['currentCategory']['name']; ?>
</h2>
</div>
<div id="ads_principal">

<div id="ads_top1">
<div id="ads_top_left">
HEADER - BANNER
</div>
<div id="ads_top_right">
<select name="header">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
</div>

<div id="ads_top2">
HORIZONTAL MENU
</div>

<div id="ads_main1">
<div id="ads_main2">

<div id="ads_left">
<div class="ads_menuleft">
<ul>
<li class="text">Left Menu</li>
</ul>
</div>
<div class="ads_menu_ads">
<select name="leftMenu">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
</div>

<div id="ads_right">
<div class="ads_menuright">
<ul>
<li class="text">Right Menu</li>
</ul>
</div>
<div class="ads_menu_ads">
<select name="rightMenu">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
</div>

<div id="ads_middle">
<div class="ads_column">

<div class="ads_show_arbo">
Root &gt; <?php echo $this->_vars['currentCategory']['name']; ?>

</div>

<div class="ads_column_in_select">
<select name="overSubcategories">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<div class="ads_title_out">
<div class="ads_title">
Category name
</div>
</div>
<div class="ads_column_in">
Category 1 Category 2<br />
Category 3 Category 4
</div>

<div class="ads_column_in_select">
<select name="overDescription">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<div class="ads_column_in">
<i>Category description</i>
</div>

<div class="ads_column_in_select">
<select name="overSitesList">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<?php for($for1 = 1; ((1 < 10) ? ($for1 < 10) : ($for1 > 10)); $for1 += ((1 < 10) ? 1 : -1)):  $this->assign('i', $for1); ?>
<div class="ads_column_in<?php echo tpl_function_cycle(array('values' => '_grey,'), $this);?>">
Website <?php echo $this->_vars['i']; ?>

</div>

<div class="ads_column_in_select">
<select name="sitePosition<?php echo $this->_vars['i']; ?>
">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
<?php endfor; ?>

</div>
</div>

<div class="fixe">&nbsp;
</div>

</div>
</div>

<div id="ads_bottom">
<div class="ads_column_bottom">
FOOTER
</div>
</div>

</div>

</form>


<form id="editAdsForm2">
<div class="title_h_2">
<h2>Predefine the position of the advertisement in the websites details pages in categorie <?php echo $this->_vars['currentCategory']['name']; ?>
</h2>
</div>
<div class="column_in_table2">
<table class="table2" cellspacing="1">
<col class="col3" /><col class="col4" />
<tbody>
<tr>
    <td>Predefine the position of the advertisement <img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/icone_info.gif", 'resurl', 'plugin', 1); ?>
" alt="" class="aide" title="If this option is enabled, ads will be activated automatically. You can manage advertising very easily to all sites in this category. Its main purpose is to modify or adapt an advertising agency specializing in special categories (sites x, casino ...)." /></td>
    <td><input type="radio" name="general" value="1" /> On &nbsp;&nbsp;<input type="radio" name="general" value="0" /> Off</td>
</tr>
</tbody>
</table>
</div> 
<div class="title_h_2">
<h2>Predefine the position of the advertisement in the websites details pages</h2>
</div>
<div id="ads_principal">
    
<div id="ads_top1">
<div id="ads_top_left">
HEADER - BANNER
</div>
<div id="ads_top_right">
<select name="header" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
</div>

<div id="ads_top2">
HORIZONTAL MENU
</div>
    
<div id="ads_main1">
<div id="ads_main2">
    
<div id="ads_left">
<div class="ads_menuleft">
<ul>
<li class="text">Left Menu</li>
</ul>
</div>
<div class="ads_menu_ads">
<select name="leftMenu">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
</div>
    
<div id="ads_right">
<div class="ads_menuright">
<ul>
<li class="text">Right Menu</li>
</ul>
</div>
<div class="ads_menu_ads">
<select name="rightMenu" >
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
</div>
    
<div id="ads_middle">
<div class="ads_column">
    
<div class="ads_show_arbo">
Root &gt; Website</a>
</div>
    
<div class="ads_column_in_select"> 
<select name="overInformationOfWebsite" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<div class="ads_title_out"> 
<div class="ads_title">
Website title
</div> 
</div> 
<div class="ads_column_in"> 
Website information     
</div>
    
<div class="ads_column_in_select"> 
<select name="underInformationOfWebsite" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
    
<div class="ads_column_in"> 
Website RSS feeds
</div>
    
<div class="ads_column_in_select"> 
<select name="underInformationFluxRss" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<div class="ads_column_in">  
Google information
</div>
        
<div class="ads_column_in_select"> 
<select name="underInformationGoogle" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<div class="ads_column_in">  
Company information
</div>
        
<div class="ads_column_in_select"> 
<select name="underInformationCompany" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>

<div class="ads_column_in">  
Website in same category
</div>
        
<div class="ads_column_in_select"> 
<select name="underThematicCloseWebsite" class="select-categoriesandgames">
<?php echo tpl_function_html_options(array('options' => $this->_vars['adCriterias']), $this);?>
</select>
</div>
    
</div> 
</div>
    
<div class="fixe">&nbsp;
</div>
    
</div>
</div>
       
<div id="ads_bottom">
<div class="ads_column_bottom">
FOOTER
</div>
</div>
      
</div>
</form>

<?php endif; ?>

<?php 
echo $this->_fetch_compile_include('includes/footer.tpl', array());
 ?>