<td width="16%"><?php echo language('TABLE_actions'); ?> </td> </tr> </table> </div> </div> <?php $sql = "SELECT * FROM `app_campaigns` WHERE `unique_user` = '" . $_SESSION[unique] . "' ORDER BY `date` DESC "; $result = mysql_query($sql); while ($campaigns = mysql_fetch_array($result)) { $campaign = new class_campaigns($campaigns[unique]); ?> <div class="box list" id="<?php echo $campaign->get_unique(); ?> "> <table width="100%" border="0"> <tr> <td width="52%"><strong><?php echo $campaign->get_name(); ?> </strong></td> <td width="18%" class="<?php echo $campaign->get_status(); ?> none"><?php if ($campaign->get_valid() == 1 || $campaign->get_valid() == 2) { ?> <input type="checkbox" class="switcher" id="c<?php
<div class="info"> <h1><?php if ($_GET[unique]) { echo language('PAGE_edit_banner_title') . $campaign->get_name(); } else { echo language('PAGE_create_banner_title'); } ?> </h1> </div> <form name="my-form" action="app_needed/ajax.functions.php" method="POST" enctype="multipart/form-data"> <?php if ($_GET[unique]) { ?> <input type="hidden" name="unique" value="<?php echo $campaign->get_unique(); ?> " /> <?php } ?> <div class="box"> <div class="inside"> <div class="title"> <h2><?php echo language('PAGE_campaign_step1'); ?> </h2> </div> <table width="100%" border="0"> <tr> <td width="17%"><?php