<div class="formLayoutTableRowMainAllLeftCol"> Percent Complete </div> <div class="formLayoutTableRowMainAllRightCol"> <input type="number" step=".01" name="percent_complete" value="<?php echo getGlobalVars($properties, 'percent_complete'); ?> " min="0" max="100" onchange="if(this.value>100){this.value=100;}if(this.value<0){this.value=0;}" /> </div> </div> <div class="formLayoutTableRowMainAll"> <div class="formLayoutTableRowMainAllLeftCol"> Status Update </div> <div class="formLayoutTableRowMainAllRightCol"> <input type="text" name="status_update" value="<?php echo getGlobalVars($properties, 'status_update'); ?> " maxlength="300" /> </div> </div> </div> </fieldset> </fieldset> <br /> <center><input type="submit" name="save" value="Save" /></center> <br /> </form> <?php }
mysql_query("UPDATE {$properties->DB_PREFIX}globalvars SET percent_complete='{$newpc}'"); echo "Successfully saved!<br /><a href=\"../\" class=\"white\">Go home</a>"; } } else { ?> This form will change the mode of this entire site. Be careful when doing so, as some options might unleash this site to the public prematurely and/or take you away from this place. <form action="" method="post"> <div id="formLayoutTableConstruction"> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> <label>Completion</label> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="hidden" name="wtd" value="apc" /> <input type="number" step=".01" min="0" max="100" name="percent" value="<?php echo getGlobalVars($properties, 'percent_complete'); ?> " /> </div> </div> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="submit" name="postapc" value="Save" class="submit" /> </div> </div> </div> </form>
</div> </div> <div class="formLayoutTableRowMainAll"> <div class="formLayoutTableRowMainAllLeftCol"> Turn on Walls? </div> <div class="formLayoutTableRowMainAllRightCol"> <input type="radio" name="walls_toggle" value="on" <?php if (getGlobalVars($properties, 'walls_toggle') == "on") { ?> checked="checked"<?php } ?> class="radio" /> Yes <input type="radio" name="walls_toggle" value="off" <?php if (getGlobalVars($properties, 'walls_toggle') == "off") { ?> checked="checked"<?php } ?> class="radio" /> No *Will toggle the function of the walls </div> </div> </div> </fieldset> <br /> <center><input type="submit" name="save" value="Save" /></center> <br /> </form> <?php }
</div> </div> <div class="formLayoutTableRowMainAll"> <div class="formLayoutTableRowMainAllLeftCol"> Theme? </div> <div class="formLayoutTableRowMainAllRightCol"> <?php if (getGlobalVars($properties, 'tm_cbc') == "off") { ?> <input type="hidden" name="data_themeid" value="1" /><?php } ?> <select name="data_themeid" <?php if (getGlobalVars($properties, 'tm_cbc') == "off") { ?> disabled="disabled"<?php } else { } ?> > <?php /* GET THE THEMES THINGS */ $GET_THEMES = mysql_query("SELECT * FROM {$properties->DB_PREFIX}themes WHERE endrun='avail' AND type='free' ORDER BY pretty_name "); if (mysql_num_rows($GET_THEMES) < 1) { echo "<option value=\"\">No Themes</option>"; } else { while ($FETCH_THEMES = mysql_fetch_array($GET_THEMES)) { if ($data_themeid == $FETCH_THEMES['id']) { ?>
</div><?php } else { /* NO ADMAKER */ } if ($properties->TURN_ON_TOP_NAV == "yes") { ?> <div id="topnavigation"> <div id="topnav"> <?php if (getGlobalVars($properties, 'top_nav_use') == "toolkit") { include "includes/private/bin/modules/native/toolkit.php"; } else { if (getGlobalVars($properties, 'top_nav_use') == "top navigation w/ search") { include "includes/private/bin/modules/native/topnavwithsearch.php"; } else { if (getGlobalVars($properties, 'top_nav_use') == "top navigation w/o search") { include "includes/private/bin/modules/native/topnavwithoutsearch.php"; } } } ?> </div> </div> <!-- end top navigation --> <?php } else { if ($properties->TURN_ON_TOP_NAV == "no") { /* NO TOP NAV */ } } ?>
?> &base=<?php echo $item; ?> &subbase=<?php if ($sub_item == "") { $sub_item = "null"; } echo $sub_item; ?> ">Delete</a> <?php } ?> <?php if (getGlobalVars($properties, "post_action_for_comments") == "Subject to Approval") { ?> | <?php if ($status == "Approved" || $status == "Deleted" || $status == "Recovered") { ?> <del>Approve</del> <?php } else { ?> <a href="?menu=comments&page=comments&action=approve&what=<?php echo $item . "_" . $sub_item; ?> &pad=<?php echo $pad; ?>
} } else { ?> This form will change the mode of this entire site. Be careful when doing so, as some options might unleash this site to the public prematurely and/or take you away from this place. <form action="" method="post"> <div id="formLayoutTableConstruction"> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> <label>Mode</label> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="hidden" name="wtd" value="change_mode" /> <select name="mode" onchange="document.getElementById('change_mode').disabled=false;"> <?php //detect which mode it is in $mode = getGlobalVars($properties, 'mode'); $modes = "closed,alpha mode,closed beta,open beta,open,maintenance,"; $modes_names = "Closed,Alpha Mode,Closed BETA,Open BETA,Open,Maintenance"; $modes_list = explode(",", $modes); $modes_names_list = explode(",", $modes_names); for ($i = 0; $i < count($modes_list) - 1; $i++) { if ($mode == $modes_list[$i]) { ?> <option selected="selected" disabled="disabled" value="<?php echo $modes_list[$i]; ?> "><?php echo $modes_names_list[$i]; ?> </option> <?php
<div id="formLayoutTableConstruction"> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> <label>Launch Day Date</label> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="hidden" name="wtd" value="change_ldd" /> <script type="text/javascript"> $(function() { $('#popupDatepicker').datepick(); //$('#inlineDatepicker').datepick({onSelect: showDate}); }); </script> <input type="text" maxlength="10" name="date" id="popupDatepicker" value="<?php echo getGlobalVars($properties, 'launch_day'); ?> " /> </div> </div> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="submit" name="postldd" value="Save" class="submit" /> </div> </div> </div> </form>
<div id="toTop" style="font-size: <?php echo getGlobalVars($properties, 'toTopMessageFontSize'); ?> px !important; width: <?php echo getGlobalVars($properties, 'toTopMessageWidth'); ?> px !important; height: <?php echo getGlobalVars($properties, 'toTopMessageHeight'); ?> px !important; line-height: <?php echo getGlobalVars($properties, 'toTopMessageLineHeight'); ?> em !important;"><?php echo getGlobalVars($properties, 'toTopMessage'); ?> </div> <div id="art"> <div class="wrap"> <div style="position:absolute;left:561px;z-index:1;top:-199px;"> <div> <img src="<?php if ($_SERVER['HTTP_HOST'] == "localhost") { echo $properties->WEBSITE_TEST_URL; } else { echo $properties->WEBSITE_REMO_URL; } echo $THEME_NAME; ?> /images/nat4an_box.png" width="auto" height="500px" /> </div> </div>
mysql_query("UPDATE {$properties->DB_PREFIX}globalvars SET max_closed_beta_positions='{$newmbr}'"); echo "Successfully saved!<br /><a href=\"../\" class=\"white\">Go home</a>"; } } else { ?> Use of this form is to allow you as an admin to change the amount of positions open for Closed BETA Members <form action="" method="post"> <div id="formLayoutTableConstruction"> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> <label>Max BETA Member Rate</label> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="hidden" name="wtd" value="adjust_mbr" /> <input type="number" name="mbr" style="width:150px;" min="0" max="1000" value="<?php echo getGlobalVars($properties, 'max_closed_beta_positions'); ?> " /> </div> </div> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="submit" name="adjust_mbr" value="Save" class="submit" /> </div> </div> </div>
$username = $FETCH_LOGIN['uname']; $type = $FETCH_LOGIN['type']; $head_admin = $FETCH_LOGIN['head_admin']; $level = $FETCH_LOGIN['level']; $user_logged_email = $FETCH_LOGIN['email']; /* DEFAULT USER OVERRIDE */ if (is_numeric(getGlobalVars($properties, "default_webmaster_u"))) { /* NUMERIC DEFAULT WEBMASTER */ if ($user_id == getGlobalVars($properties, "default_webmaster_u")) { $data_iswebmasterbydefault = "yes"; } else { $data_iswebmasterbydefault = "no"; } } else { /* TEXTUAL */ if ($username == getGlobalVars($properties, "default_webmaster_u")) { $data_iswebmasterbydefault = "yes"; } else { $data_iswebmasterbydefault = "no"; } } } ?> <title><?php echo $properties->WEBSITE_NAME; ?> - cPanel</title> <meta name="description" content="<?php echo $properties->SITE_DESCRIPTION; ?>
function converter($properties, $content, $type, $operand) { @($ip = $_SERVER['REMOTE_ADDR']); @($SESSIONID = tempSystem($properties, "getSESSION", "")); if ($_SERVER['HTTP_HOST'] == "localhost") { $WEBSITE_URL = $properties->WEBSITE_TEST_URL; } else { $WEBSITE_URL = $properties->WEBSITE_REMO_URL; } switch ($operand) { case 'to': switch ($type) { case 'url': /* before spaces */ $content = str_replace("-", "[hy]", $content); /* spaces */ $content = str_replace(" ", "-", $content); /* special characters */ $content = str_replace("!", "@", $content); $content = str_replace(".", "~", $content); $content = str_replace("#", "+", $content); $content = str_replace("+", "[PLUS]", $content); $content = str_replace(":", "[colon]", $content); $content = str_replace("'", "[sq]", $content); break; case 'article': /* INSERT NOTION HERE */ $content = str_replace(" ", " ", $content); /* READ MORE FUNCTIONAL */ if (strstr($content, "[!--more--]") != "") { $MOREPOS = strpos($content, "[!--more--]"); $content = substr($content, 0, $MOREPOS); } break; case 'previewarticle': /* INSERT NOTION HERE */ $content = str_replace(" ", " ", $content); /* PREVIEW */ $content = substr($content, 0, 200); $content = str_replace("<h1>", "<strong>", $content); $content = str_replace("</h1>", "</strong><br />", $content); $content = str_replace("<h2>", "", $content); $content = str_replace("</h2>", "", $content); $content = str_replace("<h3>", "", $content); $content = str_replace("</h3>", "", $content); $content = str_replace("<h4>", "", $content); $content = str_replace("</h4>", "", $content); $content = str_replace("<h5>", "", $content); $content = str_replace("</h5>", "", $content); $content = str_replace("<p>", "", $content); $content = str_replace("</p>", "", $content); $content = str_replace("[!--more--]", "", $content); break; case 'fullarticle': /* FULL ARTICLE FUNCTIONAL */ $content = str_replace("[!--more--]", " ", $content); $content = str_replace("[leftarrow]", "<", $content); $content = str_replace("[rightarrow]", ">", $content); break; case 'basic': /* INSERT NOTION HERE */ @($launchpad = $_GET['launchpad']); $content = str_replace("(baseurl)", $WEBSITE_URL, $content); $content = str_replace("(homelp)", $properties->PADMAIN, $content); $content = str_replace("(currentlp)", $launchpad, $content); $content = str_replace("(stylesheet)", Theme($properties, "getCurrThemeName", $ip, $SESSIONID), $content); $content = str_replace("(entry_name)", @$title, $content); $content = str_replace("(signature)", getGlobalVars($properties, "autoresponder_closing_line"), $content); /* READ MORE FUNCTIONAL */ if (strstr($content, "[!--more--]") != "") { $MOREPOS = strpos($content, "[!--more--]"); $content = substr($content, 0, $MOREPOS); } break; case 'ncode': /* INSERT NOTION HERE */ $content = str_replace("[code]", "<?php", $content); $content = str_replace("[/code]", "?> ", $content); /* READ MORE FUNCTIONAL */ if (strstr($content, "[!--more--]") != "") { $MOREPOS = strpos($content, "[!--more--]"); $content = substr($content, 0, $MOREPOS); } /* YOUTUBE FUNCTIONAL */ //<iframe width="560" height="315" src="http://www.youtube.com/embed/hDlif8Km4S4" frameborder="0" allowfullscreen></iframe> //get the y_id //[youtube]fdsafdasf[/youtube] //0123456789012345678901234567 //count how many appearances of [youtube] in content $num_of_a_youtube = substr_count($content, "[youtube id="); if ($num_of_a_youtube > 1) { /* multiple youtubes */ for ($i = 1; $i <= $num_of_a_youtube; $i++) { $y_id = substr($content, strpos($content, "[youtube id={$i}") + 14, 11); $content = str_replace("[youtube id=" . $i . "]" . $y_id . "[/youtube]", "<br /><br /><center><iframe width=\"100%\" height=\"175%\" src=\"http://www.youtube.com/embed/" . $y_id . "\" frameborder=\"0\" allowfullscreen></iframe></center><br /><br />", $content); } } else { /* one youtube */ //$y_id="UYrkQL1bX4A"; $id_of_youtube = substr($content, strpos($content, "[youtube id=") + 12, 1); $y_id = substr($content, strpos($content, "[youtube id=") + 14, 11); $content = str_replace("[youtube id=" . $id_of_youtube . "]" . $y_id . "[/youtube]", "<br /><br /><center><iframe width=\"100%\" height=\"175%\" src=\"http://www.youtube.com/embed/" . $y_id . "\" frameborder=\"0\" allowfullscreen></iframe></center><br /><br />", $content); } break; } break; case 'from': switch ($type) { case 'url': /* spaces */ $content = str_replace("-", " ", $content); /* not replace spaces */ $content = str_replace("[hy]", "-", $content); /* special characters */ $content = str_replace("@", "!", $content); $content = str_replace("~", ".", $content); $content = str_replace("+", "#", $content); $content = str_replace("[PLUS]", "+", $content); $content = str_replace("[colon]", ":", $content); $content = str_replace("[sq]", "\\'", $content); break; case 'tag': /* spaces */ $content = str_replace("-", " ", $content); /* special characters */ $content = str_replace("@", "!", $content); $content = str_replace("~", ".", $content); break; case 'article': /* INSERT NOTION HERE */ $content = str_replace(" ", " ", $content); break; case 'basic': /* INSERT NOTION HERE */ break; case 'ncode': /* INSERT NOTION HERE */ break; } break; } return $content; }
POC Table(s) *what table name to look for pocs </div> <div class="formLayoutTableRowMainAllLongRightCol"> <input type="text" name="queries_poctable" value="<?php echo getGlobalVars($properties, 'queries_poctable'); ?> " /> </div> </div> <div class="formLayoutTableRowMainAllLong"> <div class="formLayoutTableRowMainAllLongLeftCol"> Reason Table(s) *what table name to look for reasons </div> <div class="formLayoutTableRowMainAllLongRightCol"> <input type="text" name="queries_reasontable" value="<?php echo getGlobalVars($properties, 'queries_reasontable'); ?> " /> </div> </div> </div> </fieldset> </fieldset> </fieldset> <br /> <center><input type="submit" name="save" value="Save" /></center> <br /> </form> <?php }
mysql_query("UPDATE {$properties->DB_PREFIX}globalvars SET closed_message_top='{$newmessage}'"); echo "Successfully saved!<br /><a href=\"../\" class=\"white\">Go home</a>"; } } else { ?> Use this to change the message that gets displayed on the closed sign in the middle before the date <form action="" method="post"> <div id="formLayoutTableConstruction"> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> <label>Message</label> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="hidden" name="wtd" value="change_cmt" /> <input type="text" name="message" value="<?php echo getGlobalVars($properties, 'closed_message_top'); ?> " /> </div> </div> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="submit" name="postmessage" value="Save" class="submit" /> </div> </div> </div> </form>
} $FULL_PAD_LIST .= $VECTOR . ","; } $ITEMS_PAD = $FULL_PAD; $ITEMS_PAGE = getGlobalVars($properties, 'pages_modules_page'); $ITEMS_LIST = getGlobalVars($properties, 'pages_modules_list'); $ITEMS_DEFAULT_LIST = getGlobalVars($properties, 'pages_modules_defaults'); // this is where you tell us what item is default to display $SUBITEMS_LIST = getGlobalVars($properties, 'pages_modules_sublist'); //these are what follow after the "_" on a table name (Eg. "entries") $ITEMS_LIST_NAMES = getGlobalVars($properties, 'pages_modules_names'); $ITEMS_LIST_SPECIAL = getGlobalVars($properties, 'pages_modules_special'); //SPECIAL LIST is for the use of determining what info to get from database (Eg. If you dont have an author item in db use "1") $ITEMS_LIST_SPECIAL_ITEM = getGlobalVars($properties, 'pages_modules_special_item'); //if you specified "1" above then put the name of the special item else put "none" $DEFAULT_ORDER = getGlobalVars($properties, 'pages_modules_default_order'); //if order is not set in the url, it will order by this (You can add boolean values with " OR ") /* -------------------------------------------------------- DO NOT EDIT BELOW THIS LINE -------------------------------------------------------------------- */ require "../includes/private/tools/converter.php"; /* EXPLODES */ $ITEMS_PAD_LIST = explode(",", $ITEMS_PAD); $ITEMS_PAGE_LIST = explode(",", $ITEMS_PAGE); $ITEMS_LIST_LIST = explode(",", $ITEMS_LIST); $ITEMS_DEFAULT_LIST_LIST = explode(",", $ITEMS_DEFAULT_LIST); $SUBITEMS_LIST_LIST = explode(",", $SUBITEMS_LIST); $ITEMS_LIST_NAMES_LIST = explode(",", $ITEMS_LIST_NAMES); $ITEMS_LIST_SPECIAL_LIST = explode(",", $ITEMS_LIST_SPECIAL); $ITEMS_LIST_SPECIAL_ITEM_LIST = explode(",", $ITEMS_LIST_SPECIAL_ITEM); ?> <style type="text/css"> .upload-popup {
} $FULL_PAD_LIST .= $VECTOR . ","; } $ITEMS_PAD = $FULL_PAD; $ITEMS_PAGE = getGlobalVars($properties, 'posts_page'); $ITEMS_LIST = getGlobalVars($properties, 'posts_list'); $ITEMS_DEFAULT_LIST = getGlobalVars($properties, 'posts_defaults'); // this is where you tell us what item is default to display $SUBITEMS_LIST = getGlobalVars($properties, 'posts_sublist'); //these are what follow after the "_" on a table name (Eg. "entries") $ITEMS_LIST_NAMES = getGlobalVars($properties, 'posts_names'); $ITEMS_LIST_SPECIAL = getGlobalVars($properties, 'posts_special'); //SPECIAL LIST is for the use of determining what info to get from database (Eg. If you dont have an author item in db use "1") $ITEMS_LIST_SPECIAL_ITEM = getGlobalVars($properties, 'posts_special_item'); //if you specified "1" above then put the name of the special item else put "none" $DEFAULT_ORDER = getGlobalVars($properties, 'posts_default_order'); //if order is not set in the url, it will order by this (You can add boolean values with " OR ") $ITEMS_COLUMNS = "title,content,director,studio,network,category,tags,dateandtime,dateandtime_goingtostart,date_year,date_month,date_day,date_hour,date_min,date_sec,original_run_start,original_run_end,is_searchable,episodes,reviewedby,watch_type,plot,eye_candy,screenshots,status:::title,content,author,category,tags,dateandtime,dateandtime_goingtostart,date_year,date_month,date_day,date_hour,date_min,date_sec,is_searchable,status,featured,featured_image:::title,author,link,dateandtime,dateandtime_goingtostart,description,category,tags,status:::name,author,description,filename,portfolio_id,image_name,image_size_width,image_size_full_width,image_size_height,image_size_full_height,type,dateandtime,dateandtime_goingtostart,tags,installation,is_searchable,is_installable,progress,featured,featured_image,status:::"; //these are the columns that exist in the $SUBITEMS_LIST separated by ::: for each ITEM and separated by , for each column /* -------------------------------------------------------- DO NOT EDIT BELOW THIS LINE -------------------------------------------------------------------- */ require "../includes/private/tools/converter.php"; ?> <style type="text/css"> .upload-popup { background: white; width: 900px; height: 600px; -moz-border-radius: 20px 20px 20px 20px; -webkit-border-radius: 20px 20px 20px 20px; -khtml-border-radius: 20px 20px 20px 20px; border-radius: 20px 20px 20px 20px;
<div class="formLayoutTableRowMainAllLeftCol"> Default Theme </div> <div class="formLayoutTableRowMainAllRightCol"> <select name="defaultThemeID"> <?php /* GET THEMES */ $GET_THEMES = mysql_query("SELECT * FROM {$properties->DB_PREFIX}themes ORDER BY name"); if (mysql_num_rows($GET_THEMES) < 1) { /* NO THEMES */ ?> <option value="">No Themes</option> <?php } else { while ($FETCH_THEMES = mysql_fetch_array($GET_THEMES)) { if ($FETCH_THEMES['id'] == getGlobalVars($properties, 'defaultThemeID')) { ?> <option value="<?php echo $FETCH_THEMES['id']; ?> " selected="selected"><?php echo $FETCH_THEMES['pretty_name']; ?> </option> <?php } else { ?> <option value="<?php echo $FETCH_THEMES['id']; ?> "><?php
return true; //file will be uploaded } }, error:function(txt, obj){ alert('An error occour '+ txt); }, dropArea: '#drop_here' }); </script> <div id="upload"></div> <center><div id="drop_here" style="width:50%;height:200px;border:1px dashed black; border-radius: 5px;">or drop files here</div></center> <?php /* SIMPLE */ } else { if (getGlobalVars($properties, "uploader_type") == "simple") { ?> <form id="upload" action="upload.php" method="post"> <input type="file" name="uploading" /> <input type="submit" name="upload_btn" value="Upload" /> </form> <?php } } } ?> </div> <script type="text/javascript"> function upload(){ $('#upload_popup').bPopup({
<?php } else { ?> <a href="/cpanel" title="To control EVERY single aspect of this server!" target="_new">[ Admin's CPanel ]</a> <?php } ?> <?php //get necessary stuff $ip = $_SERVER['REMOTE_ADDR']; @($logged_session = $_COOKIE['nat4an_beta_session']); //check for logged in status $CHECK_LOGIN = mysql_query("SELECT * FROM {$properties->DB_PREFIX}users WHERE logged_ip='{$ip}' AND logged_session='{$logged_session}'"); if (mysql_num_rows($CHECK_LOGIN) < 1) { if (getGlobalVars($properties, 'mode') == "closed" || "closedbeta") { /* ON A PAGE WHERE CONTROL IS NOT ACCESSIBLE */ ?> <a href="control" title="">[ Control ]</a><?php } else { } } ?> <?php if ($_SERVER['HTTP_HOST'] == "localhost") { ?> <a href="/library.php" target="_new" title="A library of my works in HTML/CSS/PHP/ETC">[ Library ]</a> <?php } ?>
mysql_query("UPDATE {$properties->DB_PREFIX}globalvars SET max_admin_positions='{$newmar}'"); echo "Successfully saved!<br /><a href=\"../\" class=\"white\">Go home</a>"; } } else { ?> Use of this form is to allow you as an admin to change the amount of positions open for admins <form action="" method="post"> <div id="formLayoutTableConstruction"> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> <label>Max Admin Rate</label> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="hidden" name="wtd" value="adjust_mar" /> <input type="number" name="mar" style="width:150px;" min="0" max="1000" value="<?php echo getGlobalVars($properties, 'max_admin_positions'); ?> " /> </div> </div> <div class="formLayoutTableConstructionRow"> <div class="formLayoutTableConstructionRowLeftCol"> </div> <div class="formLayoutTableConstructionRowRightCol"> <input type="submit" name="adjust_mar" value="Save" class="submit" /> </div> </div> </div> </form>
$dashx_allpageviews = $dashx_allpageviews / 1000000000 . " Billion"; } if ($dashx_allpageviews > 999999) { $dashx_allpageviews = $dashx_allpageviews / 1000000 . "M"; } if ($dashx_allpageviews > 9999) { $dashx_allpageviews = $dashx_allpageviews / 1000 . "K"; } /* CHECK FOR EXITS AND MOVEONS */ $CHECK_EAG = mysql_query("SELECT * FROM {$properties->DB_PREFIX}tempsystem"); if (mysql_num_rows($CHECK_EAG) < 1) { $COUNT_CHECK_EAG_GOTHRUS = 0; $COUNT_CHECK_EAG_EXITS = 0; } else { while ($FETCH_CHECK_EAG = mysql_fetch_array($CHECK_EAG)) { if (getGlobalVars($properties, 'display_social_modal') == "no") { /* NO SOCIAL MODAL */ $COUNT_CHECK_EAG_EXITS = "<a class=\"red question\" title=\"No Social Modal Detected to Register Exits\">NIL</a>"; $COUNT_CHECK_EAG_GOTHRUS += 1; } else { if ($FETCH_CHECK_EAG['fb_like'] == "yes") { $COUNT_CHECK_EAG_GOTHRUS += 1; } else { if ($FETCH_CHECK_EAG['fb_like'] == "no") { $COUNT_CHECK_EAG_EXITS += 1; } } } } } $dashx_exits = $COUNT_CHECK_EAG_EXITS;
function admaker($properties, $ADID, $ADTYPE, $ADURL, $ADTARGET, $ADIMGLOCATION, $ADIMGBORDER, $ADIMGALT, $ADIMGWIDTH, $ADIMGHEIGHT, $ADIMGALIGN) { if (getGlobalVars($properties, "display_admaker") == "yes") { switch ($ADTYPE) { case 'top': //update amount of times displayed if ($ADID == "0000") { /* NOT AN AD */ } else { mysql_query("UPDATE {$properties->DB_PREFIX}modules_ads SET times_displayed=times_displayed+1 WHERE id='{$ADID}'"); } if ($ADIMGBORDER == "on") { $ADIMGBORDER = 1; } else { if ($ADIMGBORDER == "off") { $ADIMGBORDER = 0; } } $output = "<a href=\"" . $ADURL . "\" target=\"" . $ADTARGET . "\"><img src=\"" . $ADIMGLOCATION . "\" align=\"" . $ADIMGALIGN . "\" border=" . $ADIMGBORDER . " width=\"" . $ADIMGWIDTH . "\" height=\"" . $ADIMGHEIGHT . "\" alt=\"" . $ADIMGALT . "\" onmouseover=\"fade('up') onmouseout=\"fade('down')\"\"></a>"; return $output; break; } } else { /* NO ADMAKER */ } }
$ITEMS_PAGE = getGlobalVars($properties, 'queries_page'); $ITEMS_LIST = getGlobalVars($properties, 'queries_list'); $ITEMS_DEFAULT_LIST = getGlobalVars($properties, 'queries_defaults'); // this is where you tell us what item is default to display $SUBITEMS_LIST = getGlobalVars($properties, 'queries_sublist'); //these are what follow after the "_" on a table name (Eg. "entries") $ITEMS_LIST_NAMES = getGlobalVars($properties, 'queries_names'); $ITEMS_LIST_SPECIAL = getGlobalVars($properties, 'queries_special'); //SPECIAL LIST is for the use of determining what info to get from database (Eg. If you dont have an author item in db use "1") $ITEMS_LIST_SPECIAL_ITEM = getGlobalVars($properties, 'queries_special_item'); //if you specified "1" above then put the name of the special item else put "none" $DEFAULT_ORDER = getGlobalVars($properties, 'queries_default_order'); //if order is not set in the url, it will order by this (You can add boolean values with " OR ") $ITEMS_POCTABLE = getGlobalVars($properties, 'queries_poctable'); //if you specified "1" above then put the name of the special item else put "none" $ITEMS_REASONTABLE = getGlobalVars($properties, 'queries_reasontable'); //if you specified "1" above then put the name of the special item else put "none" $ITEMS_COLUMNS = "title,content,director,studio,network,category,tags,dateandtime,dateandtime_goingtostart,date_year,date_month,date_day,date_hour,date_min,date_sec,original_run_start,original_run_end,is_searchable,episodes,reviewedby,watch_type,plot,eye_candy,screenshots,status:::title,content,author,category,tags,dateandtime,dateandtime_goingtostart,date_year,date_month,date_day,date_hour,date_min,date_sec,is_searchable,status,featured,featured_image:::title,author,link,dateandtime,dateandtime_goingtostart,description,category,tags,status:::name,author,description,filename,portfolio_id,image_name,image_size_width,image_size_full_width,image_size_height,image_size_full_height,type,dateandtime,dateandtime_goingtostart,tags,installation,is_searchable,is_installable,progress,featured,featured_image,status:::"; //these are the columns that exist in the $SUBITEMS_LIST separated by ::: for each ITEM and separated by , for each column /* -------------------------------------------------------- DO NOT EDIT BELOW THIS LINE -------------------------------------------------------------------- */ require "../includes/private/tools/converter.php"; ?> <style type="text/css"> .upload-popup { background: white; width: 900px; height: 600px; -moz-border-radius: 20px 20px 20px 20px; -webkit-border-radius: 20px 20px 20px 20px; -khtml-border-radius: 20px 20px 20px 20px; border-radius: 20px 20px 20px 20px;