Esempio n. 1
0
    echo $tag->get_unique();
    ?>
">
        <table width="100%" border="0">
          <tr>
            <td width="39%"><strong>
              <?php 
    echo $tag->get_name();
    ?>
              -
              <?php 
    echo $tag->get_website();
    ?>
              </strong><br /></td>
            <td width="17%" class="none"><?php 
    echo $tag->get_ad_type();
    ?>
              <?php 
    if ($tag->get_tag_cost() == 2) {
        echo " - CPC";
    }
    ?>
</td>
            <td width="14%" class="none <?php 
    echo $tag->get_status();
    ?>
"><?php 
    if ($tag->get_valid() == 1 || $tag->get_valid() == 2) {
        ?>
              <input type="checkbox" class="switcher" id="t<?php 
        echo $tag->get_unique();
Esempio n. 2
0
<?php

include "app_needed/config.php";
require_once "app_classes/module_tags.inc";
$tag = new class_tags($_GET[unique]);
if (!$_SESSION[unique]) {
    header("Location: " . APP_WEBSITE . "/login.html");
}
if ($_GET[unique]) {
    $type = $tag->get_ad_type();
} else {
    $type = $_GET[type];
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo language("CHARSET");
?>
" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php 
if ($_GET[unique]) {
    echo language('PAGE_edit_tag_title');
} else {
    echo language('PAGE_create_tag_title');
}
?>
 - <?php 
echo $config->get_value('platform_title');