</td> </tr> </table> <p> </p> <?php } else { // The user is singed in $has_packages = banner_get_packages($BID); require "header.php"; ?> <p> <?php show_nav_status(3); ?> </p> <?php $cannot_get_package = false; if ($has_packages && $_REQUEST['pack'] != '') { // has packages, and a package was selected... // check to make sure this advertiser can order this package if (can_user_get_package($_SESSION['MDS_ID'], $_REQUEST['pack'])) { $sql = "SELECT quantity FROM temp_orders WHERE session_id='" . addslashes(session_id()) . "'"; $result = mysql_query($sql) or die(mysql_error() . $sql); $row = mysql_fetch_array($result); $quantity = $row['quantity'];
<?php require "footer.php"; die; } require "header.php"; $row = mysql_fetch_array($order_result); //print_r (unserialize( $row['block_info'])); update_temp_order_timestamp(); $has_packages = banner_get_packages($BID); //$sql = "select * from banners where banner_id='$BID'"; //$result = mysql_query ($sql) or die (mysql_error().$sql); //$b_row = mysql_fetch_array($result); ?> <p> <?php show_nav_status(2); ?> </p> <h3><?php $label['write_ad_instructions']; ?> </h3> <?php $_REQUEST['user_id'] = addslashes(session_id()); if ($_REQUEST['save'] != "") { // saving $error = validate_ad_data(1); if ($error != '') { // we have an error $mode = "edit"; //display_ad_intro();
echo $label['pixel_upload_failed']; } } } // pointer.png ?> <span id='block_pointer' onmousemove="show_pointer2(event)" onclick="do_block_click(event);" style='cursor: pointer;position:absolute;left:0; top:0;background-color:#FFFFFF; visibility:hidden '><img src='get_pointer_graphic.php?BID=<?php echo $BID; ?> '></span> <p> <?php show_nav_status(1); ?> </p> <p id="select_status" ><?php echo $cannot_sel; ?> </p> <?php $sql = "SELECT * FROM banners order by `name` "; $res = mysql_query($sql); if (mysql_num_rows($res) > 1) { ?> <div class="fancy_heading" width="85%"><?php