} echo '<p class="no_vertical_margin">您发布了' . $type_name . ',基本佣金' . $user_base_price . '。预期点击量:' . $row['amount'] . '。预期总支出:' . $user_total_price . ' 元。</p>'; echo '<br /><span class="no_vertical_margin">on: ' . $row['create_at'] . '</span>'; echo '<br /><span class="no_vertical_margin">expire in ' . $row['expire_in'] . ' days</span><hr />'; } } } ?> <?php if (0 < $total_page) { ?> <div id="page_bar"> <ul> <?php $url = 'http://' . $hostName . $_SERVER['SCRIPT_NAME'] . "?data={$data}&page="; page_bar($url, $total_page, $page, TRUE); ?> </ul> </div><!-- end of DIV page_bar --> <?php } ?> <?php } } } ?> </div><!-- end of DIV main_content --> <?php include "uiparts/messcol.php";
</td> </tr> </table> </td> </tr> </table> </td> </tr> <? } echo "</table>\n"; echo "<table width='600' align='center' border=0>\n"; echo "<tr>\n"; echo "<td width='100%' align='center'>\n"; echo page_bar(); echo "</td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</center>\n"; if (@$_GET['edit']){ $arr = $item = Video::getById(intval(@$_GET['id'])); if (!empty($arr)){ $name = $arr['name']; $o_name = $arr['o_name']; $censored = $arr['censored']; $description = $arr['description'];
foreach ($all_anecs as $arr) { echo "<tr align='center'>"; echo "<table align='center' class='list' width='400'>"; echo "<tr>"; echo "<td>"; echo $arr['added'] . " <a href='?edit=1&id=" . $arr['id'] . "#form'>edit</a> "; echo "<a href='#' onclick='if(confirm(\"" . _('Do you really want to delete this record?') . "\")){document.location=\"anecdote.php?del=1&id=" . $arr['id'] . "\"}'>del</a> \n"; echo "<br><br>" . nl2br($arr['anec_body']); echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br>"; echo "</tr>"; } echo "</table>"; echo "<center>" . page_bar() . "</center>"; if (@$_GET['edit']) { $arr = Mysql::getInstance()->from('anec')->where(array('id' => intval($_GET['id'])))->get()->first(); if (!empty($arr)) { $anec_body = $arr['anec_body']; } } ?> <script> function save(){ form_ = document.getElementById('form_'); id = document.getElementById('id').value; action = 'anecdote.php?id='+id;