increase main width to 1200

This commit is contained in:
xiaomlove
2021-05-26 21:38:39 +08:00
parent f0e5ad5b6c
commit a4c9a40cdd
15 changed files with 72 additions and 72 deletions

View File

@@ -508,7 +508,7 @@ function begin_main_frame($caption = "", $center = false, $width = 100)
if ($center)
$tdextra .= " align=\"center\"";
$width = 940 * $width /100;
$width = 1200 * $width /100;
print("<table class=\"main\" width=\"".$width."\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" .
"<tr><td class=\"embedded\" $tdextra>");
@@ -2377,7 +2377,7 @@ if ($enabledonation == 'yes'){?>
</tr>
</table>
<table class="mainouter" width="982" cellspacing="0" cellpadding="5" align="center">
<table class="mainouter" width="1200" cellspacing="0" cellpadding="5" align="center">
<tr><td id="nav_block" class="text" align="center">
<?php if (!$CURUSER) { ?>
<a href="login.php"><font class="big"><b><?php echo $lang_functions['text_login'] ?></b></font></a> / <a href="signup.php"><font class="big"><b><?php echo $lang_functions['text_signup'] ?></b></font></a>

View File

@@ -12,31 +12,31 @@ function get_position_name($position)
global $lang_admanage;
switch ($position)
{
case 'header':
case 'header':
$name = $lang_admanage['text_header'];
break;
case 'footer':
case 'footer':
$name = $lang_admanage['text_footer'];
break;
case 'belownav':
case 'belownav':
$name = $lang_admanage['text_below_navigation'];
break;
case 'belowsearchbox':
case 'belowsearchbox':
$name = $lang_admanage['text_below_searchbox'];
break;
case 'torrentdetail':
case 'torrentdetail':
$name = $lang_admanage['text_torrent_detail'];
break;
case 'comment':
case 'comment':
$name = $lang_admanage['text_comment_page'];
break;
case 'interoverforums':
case 'interoverforums':
$name = $lang_admanage['text_inter_overforums'];
break;
case 'forumpost':
case 'forumpost':
$name = $lang_admanage['text_forum_post_page'];
break;
case 'popup':
case 'popup':
$name = $lang_admanage['text_popup'];
break;
}
@@ -47,19 +47,19 @@ function get_type_name($type)
global $lang_admanage;
switch ($type)
{
case 'bbcodes':
case 'bbcodes':
$name = $lang_admanage['text_bbcodes'];
break;
case 'xhtml':
case 'xhtml':
$name = $lang_admanage['text_xhtml'];
break;
case 'text':
case 'text':
$name = $lang_admanage['text_text'];
break;
case 'image':
case 'image':
$name = $lang_admanage['text_image'];
break;
case 'flash':
case 'flash':
$name = $lang_admanage['text_flash'];
break;
}
@@ -71,31 +71,31 @@ function print_ad_editor($position, $row = "")
global $allowxhtmlclass;
switch ($position)
{
case 'header':
case 'header':
$note = $lang_admanage['text_header_note'];
break;
case 'footer':
case 'footer':
$note = $lang_admanage['text_footer_note'];
break;
case 'belownav':
case 'belownav':
$note = $lang_admanage['text_below_navigation_note'];
break;
case 'belowsearchbox':
case 'belowsearchbox':
$note = $lang_admanage['text_below_searchbox_note'];
break;
case 'torrentdetail':
case 'torrentdetail':
$note = $lang_admanage['text_torrent_detail_note'];
break;
case 'comment':
case 'comment':
$note = $lang_admanage['text_comment_page_note'];
break;
case 'interoverforums':
case 'interoverforums':
$note = $lang_admanage['text_inter_overforums_note'];
break;
case 'forumpost':
case 'forumpost':
$note = $lang_admanage['text_forum_post_page_note'];
break;
case 'popup':
case 'popup':
$note = $lang_admanage['text_popup_note'];
break;
}
@@ -383,7 +383,7 @@ begin_main_frame();
list($pagertop, $pagerbottom, $limit) = pager($perpage, $num, "?");
$res = sql_query("SELECT * FROM advertisements ORDER BY id DESC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="<?=MAIN_WIDTH?>">
<tr>
<td class="colhead"><?php echo $lang_admanage['col_enabled']?></td>
<td class="colhead"><?php echo $lang_admanage['col_name']?></td>

View File

@@ -163,7 +163,7 @@ function print_sub_category_list($type)
list($pagertop, $pagerbottom, $limit) = pager($perpage, $num, "?");
$res = sql_query("SELECT * FROM ".$dbtablename." ORDER BY id DESC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="97%">
<tr>
<td class="colhead"><?php echo $lang_catmanage['col_id']?></td>
<td class="colhead"><?php echo $lang_catmanage['col_name']?></td>
@@ -386,7 +386,7 @@ if ($action == 'view')
print_type_list($type);
?>
<div style="margin-top: 8px">
<?php
<?php
if (in_array($type, $validsubcattype)){
print_sub_category_list($type);
}
@@ -401,7 +401,7 @@ if ($action == 'view')
list($pagertop, $pagerbottom, $limit) = pager($perpage, $num, "?");
$res = sql_query("SELECT * FROM ".$dbtablename." ORDER BY id ASC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="97%">
<tr>
<td class="colhead"><?php echo $lang_catmanage['col_id']?></td>
<td class="colhead"><?php echo $lang_catmanage['col_name']?></td>
@@ -455,7 +455,7 @@ print($pagerbottom);
list($pagertop, $pagerbottom, $limit) = pager($perpage, $num, "?");
$res = sql_query("SELECT * FROM ".$dbtablename." ORDER BY id ASC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="97%">
<tr>
<td class="colhead"><?php echo $lang_catmanage['col_id']?></td>
<td class="colhead"><?php echo $lang_catmanage['col_name']?></td>
@@ -501,7 +501,7 @@ print($pagerbottom);
list($pagertop, $pagerbottom, $limit) = pager($perpage, $num, "?");
$res = sql_query("SELECT * FROM ".$dbtablename." ORDER BY id ASC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="97%">
<tr>
<td class="colhead"><?php echo $lang_catmanage['col_id']?></td>
<td class="colhead"><?php echo $lang_catmanage['col_name']?></td>
@@ -554,7 +554,7 @@ print($pagerbottom);
$res = sql_query("SELECT ".$dbtablename.".*, searchbox.name AS catmodename, caticons.name as icon_name FROM ".$dbtablename." LEFT JOIN searchbox ON ".$dbtablename.".mode=searchbox.id left join caticons on caticons.id = $dbtablename.icon_id ORDER BY ".$dbtablename.".mode ASC, ".$dbtablename.".id ASC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="97%">
<tr>
<td class="colhead"><?php echo $lang_catmanage['col_id']?></td>
<td class="colhead"><?php echo $lang_catmanage['col_mode']?></td>

View File

@@ -55,7 +55,7 @@ else {
$s=htmlspecialchars($row["name"]).($sp_torrent ? "&nbsp;&nbsp;&nbsp;".$sp_torrent : "");
print("<h1 align=\"center\" id=\"top\">".$s."</h1>\n");
print("<table width=\"940\" cellspacing=\"0\" cellpadding=\"5\">\n");
print("<table width=\"97%\" cellspacing=\"0\" cellpadding=\"5\">\n");
$url = "edit.php?id=" . $row["id"];
if (isset($_GET["returnto"])) {

View File

@@ -53,7 +53,7 @@ else {
print("<input type=\"hidden\" name=\"id\" value=\"$id\" />");
if (isset($_GET["returnto"]))
print("<input type=\"hidden\" name=\"returnto\" value=\"" . htmlspecialchars($_GET["returnto"]) . "\" />");
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"940\">\n");
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"97%\">\n");
print("<tr><td class='colhead' colspan='2' align='center'>".htmlspecialchars($row["name"])."</td></tr>");
tr($lang_edit['row_torrent_name']."<font color=\"red\">*</font>", "<input type=\"text\" style=\"width: 650px;\" name=\"name\" value=\"" . htmlspecialchars($row["name"]) . "\" />", 1);
if ($smalldescription_main == 'yes')

View File

@@ -611,7 +611,7 @@ if ($action == "viewtopic")
//------ Print table
begin_main_frame();
print("<table border=\"0\" class=\"main\" cellspacing=\"0\" cellpadding=\"5\" width=\"940\"><tr>\n");
print("<table border=\"0\" class=\"main\" cellspacing=\"0\" cellpadding=\"5\" width=\"97%\"><tr>\n");
print("<td class=\"embedded\" width=\"99%\">&nbsp;&nbsp;".$lang_forums['there_is']."<b>".$views."</b>".$lang_forums['hits_on_this_topic']);
print("</td>\n");
print("<td class=\"embedded nowrap\" width=\"1%\" align=\"right\">");
@@ -1049,7 +1049,7 @@ if ($action == "viewforum")
}
if (get_user_class() < $row["minclassread"])
permissiondenied();
$forumname = $row['name'];
$forummoderators = get_forum_moderators($forumid,false);
$search = mysql_real_escape_string(trim($_GET["search"] ?? ''));
@@ -1066,12 +1066,12 @@ if ($action == "viewforum")
list($pagertop, $pagerbottom, $limit) = pager($topicsperpage, $num, "?"."action=viewforum&forumid=".$forumid.$addparam."&");
if (isset($_GET["sort"])){
switch ($_GET["sort"]){
case 'firstpostasc':
case 'firstpostasc':
{
$orderby = "firstpost ASC";
break;
}
case 'firstpostdesc':
case 'firstpostdesc':
{
$orderby = "firstpost DESC";
break;
@@ -1109,7 +1109,7 @@ if ($action == "viewforum")
if (!$maypost)
print("<p><i>".$lang_forums['text_unpermitted_starting_new_topics']."</i></p>\n");
print("<table border=\"0\" class=\"main\" cellspacing=\"0\" cellpadding=\"5\" width=\"940\"><tr>\n");
print("<table border=\"0\" class=\"main\" cellspacing=\"0\" cellpadding=\"5\" width=\"97%\"><tr>\n");
print("<td class=\"embedded\" width=\"90%\">");
print($forummoderators ? "&nbsp;&nbsp;<img class=\"forum_mod\" src=\"pic/trans.gif\" alt=\"Moderator\" title=\"".$lang_forums['col_moderator']."\">&nbsp;".$forummoderators : "");
print("</td><td class=\"embedded nowrap\" width=\"1%\">");
@@ -1119,7 +1119,7 @@ if ($action == "viewforum")
print("</tr></table>\n");
if ($numtopics > 0)
{
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"940\">");
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"97%\">");
print("<tr><td class=\"colhead\" align=\"center\" width=\"99%\">".$lang_forums['col_topic']."</td><td class=\"colhead\" align=\"center\"><a href=\"".htmlspecialchars("?action=viewforum&forumid=".$forumid.$addparam."&sort=".(isset($_GET["sort"]) && $_GET["sort"] == 'firstpostdesc' ? "firstpostasc" : "firstpostdesc"))."\" title=\"".(isset($_GET["sort"]) && $_GET["sort"] == 'firstpostdesc' ? $lang_forums['title_order_topic_asc'] : $lang_forums['title_order_topic_desc'])."\">".$lang_forums['col_author']."</a></td><td class=\"colhead\" align=\"center\">".$lang_forums['col_replies']."/".$lang_forums['col_views']."</td><td class=\"colhead\" align=\"center\"><a href=\"".htmlspecialchars("?action=viewforum&forumid=".$forumid.$addparam."&sort=".(isset($_GET["sort"]) && $_GET["sort"] == 'lastpostasc' ? "lastpostdesc" : "lastpostasc"))."\" title=\"".(isset($_GET["sort"]) && $_GET["sort"] == 'lastpostasc' ? $lang_forums['title_order_post_desc'] : $lang_forums['title_order_post_asc'])."\">".$lang_forums['col_last_post']."</a></td>\n");
@@ -1210,7 +1210,7 @@ if ($action == "viewforum")
$subject .= "&nbsp;&nbsp;<a href=\"".htmlspecialchars("?action=viewtopic&forumid=".$forumid."&topicid=".$topicid."&page=p".$lastpostread."#pid".$lastpostread)."\" title=\"".$lang_forums['title_jump_to_unread']."\"><font class=\"small new\"><b>".$lang_forums['text_new']."</b></font></a>";
}
$topictime = substr($arr['added'],0,10);
if (strtotime($arr['added']) + 86400 > TIMENOW)
$topictime = "<font class=\"new small\">".$topictime."</font>";
@@ -1229,7 +1229,7 @@ if ($action == "viewforum")
} // while
//print("</table>\n");
//print("<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"940\">");
//print("<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"97%\">");
print("<tr><td align=\"left\">\n");
print("<form method=\"get\" action=\"forums.php\"><b>".$lang_forums['text_fast_search']."</b><input type=\"hidden\" name=\"action\" value=\"viewforum\" /><input type=\"hidden\" name=\"forumid\" value=\"".$forumid."\" /><input type=\"text\" style=\"width: 180px\" name=\"search\" />&nbsp;<input type=\"submit\" value=\"".$lang_forums['text_go']."\" /></form>");
print("</td>");
@@ -1360,7 +1360,7 @@ if ($action == "search")
.search_table {
border-collapse: collapse;
border: none;
background-color: #ffffff;
background-color: #ffffff;
}
</style>
@@ -1375,7 +1375,7 @@ if ($action == "search")
<td style="padding-bottom: 3px; border: 0;" valign="top"><?php echo $lang_forums['text_by_keyword'] ?></td>
</tr>
<tr>
<td style="padding-bottom: 3px; border: 0;" valign="top">
<td style="padding-bottom: 3px; border: 0;" valign="top">
<input name="keywords" type="text" value="<?php echo $keywords?>" style="width: 400px;" /></td>
<td style="padding-bottom: 3px; border: 0;" valign="top"><input name="image" type="image" style="vertical-align: middle; padding-bottom: 0px; margin-left: 0px;" src="<?php echo get_forum_pic_folder()?>/search_button.gif" alt="Search" /></td>
</tr>
@@ -1393,7 +1393,7 @@ if ($action == "search")
$res = sql_query("SELECT posts.id, posts.topicid, posts.userid, posts.added, topics.subject, topics.hlcolor, forums.id AS forumid, forums.name AS forumname FROM posts LEFT JOIN topics ON posts.topicid = topics.id LEFT JOIN forums ON topics.forumid = forums.id WHERE forums.minclassread <= ".sqlesc(get_user_class())." AND ((topics.subject $extraSql AND posts.id=topics.firstpost) OR posts.body $extraSql) ORDER BY posts.id DESC $limit") or sqlerr(__FILE__, __LINE__);
print($pagertop);
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"940\">\n");
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"97%\">\n");
print("<tr><td class=\"colhead\" align=\"center\">".$lang_forums['col_post']."</td><td class=\"colhead\" align=\"center\" width=\"70%\">".$lang_forums['col_topic']."</td><td class=\"colhead\" align=\"left\">".$lang_forums['col_forum']."</td><td class=\"colhead\" align=\"left\">".$lang_forums['col_posted_by']."</td></tr>\n");
while ($post = mysql_fetch_array($res))

View File

@@ -181,7 +181,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
?>
<h1 align="center"><?php echo $lang_getrss['text_rss_feeds']?></h1>
<form method="post" action="getrss.php">
<table cellspacing="1" cellpadding="5" width="940">
<table cellspacing="1" cellpadding="5" width="97%">
<tr>
<td class="rowhead"><?php echo $lang_getrss['row_categories_to_retrieve']?>
</td>

View File

@@ -117,7 +117,7 @@ $limit";
print("<h1 align=\"center\">".$count.$lang_ipsearch['text_users_used_the_ip'].$ip."</h1>");
print("<table width=940 border=1 cellspacing=0 cellpadding=5 align=center>\n");
print("<table width=1200 border=1 cellspacing=0 cellpadding=5 align=center>\n");
print("<tr><td class=colhead align=center><a class=colhead href=\"?ip=$ip&mask=$mask&order=username\">".$lang_ipsearch['col_username']."</a></td>".
"<td class=colhead align=center><a class=colhead href=\"?ip=$ip&mask=$mask&order=last_ip\">".$lang_ipsearch['col_last_ip']."</a></td>".
"<td class=colhead align=center><a class=colhead href=\"?ip=$ip&mask=$mask&order=last_access\">".$lang_ipsearch['col_last_access']."</a></td>".

View File

@@ -123,7 +123,7 @@ if (isset($do)) {
$bonus = number_format($CURUSER['seedbonus'], 1);
if (!$action) {
print("<table align=\"center\" width=\"940\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n");
print("<table align=\"center\" width=\"97%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n");
print("<tr><td class=\"colhead\" colspan=\"4\" align=\"center\"><font class=\"big\">".$SITENAME.$lang_mybonus['text_karma_system']."</font></td></tr>\n");
if ($msg)
print("<tr><td align=\"center\" colspan=\"4\"><font class=\"striking\">". $msg ."</font></td></tr>");
@@ -154,7 +154,7 @@ for ($i=1; $i <=9; $i++)
print("<td class=\"rowfollow\" align='left'><h1>".$bonusarray['name']."</h1>".$bonusarray['description']."<br /><br />".$lang_mybonus['text_enter_receiver_name']."<br />$otheroption</td><td class=\"rowfollow nowrap\" align='center'>".$lang_mybonus['text_min']."25<br />".$lang_mybonus['text_max']."10,000</td>");
}
elseif ($i==9){ //charity giving
$otheroption = "<table width=\"100%\"><tr><td class=\"embedded\">".$lang_mybonus['text_ratio_below']."<select name=\"ratiocharity\"> <option value=\"0.1\"> 0.1</option><option value=\"0.2\"> 0.2</option><option value=\"0.3\" selected=\"selected\"> 0.3</option> <option value=\"0.4\"> 0.4</option> <option value=\"0.5\"> 0.5</option> <option value=\"0.6\"> 0.6</option><option value=\"0.7\"> 0.7</option><option value=\"0.8\"> 0.8</option></select>".$lang_mybonus['text_and_downloaded_above']." 10 GB</td><td class=\"embedded\"><b>".$lang_mybonus['text_to_be_given']."</b><select name=\"bonuscharity\" id=\"charityselect\" > <option value=\"1000\"> 1,000</option><option value=\"2000\"> 2,000</option><option value=\"3000\" selected=\"selected\"> 3000</option> <option value=\"5000\"> 5,000</option> <option value=\"8000\"> 8,000</option> <option value=\"10000\"> 10,000</option><option value=\"20000\"> 20,000</option><option value=\"50000\"> 50,000</option></select>".$lang_mybonus['text_karma_points']."</td></tr></table>";
$otheroption = "<table width=\"100%\"><tr><td class=\"embedded\">".$lang_mybonus['text_ratio_below']."<select name=\"ratiocharity\"> <option value=\"0.1\"> 0.1</option><option value=\"0.2\"> 0.2</option><option value=\"0.3\" selected=\"selected\"> 0.3</option> <option value=\"0.4\"> 0.4</option> <option value=\"0.5\"> 0.5</option> <option value=\"0.6\"> 0.6</option><option value=\"0.7\"> 0.7</option><option value=\"0.8\"> 0.8</option></select>".$lang_mybonus['text_and_downloaded_above']." 10 GB</td><td class=\"embedded\"><b>".$lang_mybonus['text_to_be_given']."</b><select name=\"bonuscharity\" id=\"charityselect\" > <option value=\"1000\"> 1,000</option><option value=\"2000\"> 2,000</option><option value=\"3000\" selected=\"selected\"> 3000</option> <option value=\"5000\"> 5,000</option> <option value=\"8000\"> 8,000</option> <option value=\"10000\"> 10,000</option><option value=\"20000\"> 20,000</option><option value=\"50000\"> 50,000</option></select>".$lang_mybonus['text_karma_points']."</td></tr></table>";
print("<td class=\"rowfollow\" align='left'><h1>".$bonusarray['name']."</h1>".$bonusarray['description']."<br /><br />".$lang_mybonus['text_select_receiver_ratio']."<br />$otheroption</td><td class=\"rowfollow nowrap\" align='center'>".$lang_mybonus['text_min']."1,000<br />".$lang_mybonus['text_max']."50,000</td>");
}
else{ //for VIP or Upload
@@ -215,12 +215,12 @@ for ($i=1; $i <=9; $i++)
}
print("</form>");
print("</tr>");
}
print("</table><br />");
?>
<table width="940" cellpadding="3">
<table width="97%" cellpadding="3">
<tr><td class="colhead" align="center"><font class="big"><?php echo $lang_mybonus['text_what_is_karma'] ?></font></td></tr>
<tr><td class="text" align="left">
<?php
@@ -469,7 +469,7 @@ if ($action == "exchange") {
nexus_redirect("" . get_protocol_prefix() . "$BASEURL/mybonus.php?do=transfer");
}
else{
print("<table width=\"940\"><tr><td class=\"colhead\" align=\"left\" colspan=\"2\"><h1>".$lang_mybonus['text_oups']."</h1></td></tr>");
print("<table width=\"97%\"><tr><td class=\"colhead\" align=\"left\" colspan=\"2\"><h1>".$lang_mybonus['text_oups']."</h1></td></tr>");
print("<tr><td align=\"left\"></td><td align=\"left\">".$lang_mybonus['text_not_enough_karma']."<br /><br /></td></tr></table>");
}
}

View File

@@ -135,7 +135,7 @@ if (isset($_GET['off_details']) && $_GET["off_details"]){
if(!$id)
die();
//stderr("Error", "I smell a rat!");
$res = sql_query("SELECT * FROM offers WHERE id = $id") or sqlerr(__FILE__,__LINE__);
$num = mysql_fetch_array($res);
@@ -144,7 +144,7 @@ if (isset($_GET['off_details']) && $_GET["off_details"]){
stdhead($lang_offers['head_offer_detail_for']." \"".$s."\"");
print("<h1 align=\"center\" id=\"top\">".htmlspecialchars($s)."</h1>");
print("<table width=\"940\" cellspacing=\"0\" cellpadding=\"5\">");
print("<table width=\"97%\" cellspacing=\"0\" cellpadding=\"5\">");
$offertime = gettime($num['added'],true,false);
if ($CURUSER['timetype'] != 'timealive')
$offertime = $lang_offers['text_at'].$offertime;
@@ -176,7 +176,7 @@ if (isset($_GET['off_details']) && $_GET["off_details"]){
tr($lang_offers['row_vote'], "<b>".
"<a href=\"?id=".$id."&amp;vote=yeah\"><font color=\"green\">".$lang_offers['text_for']."</font></a></b>".(get_user_class() >= $againstoffer_class ? " - <b><a href=\"?id=".$id."&amp;vote=against\">".
"<font color=\"red\">".$lang_offers['text_against']."</font></a></b>" : ""), 1);
tr($lang_offers['row_vote_results'],
tr($lang_offers['row_vote_results'],
"<b>".$lang_offers['text_for'].":</b> $za <b>".$lang_offers['text_against']."</b> $protiv &nbsp; &nbsp; <a href=\"?id=".$id."&amp;offer_vote=1\"><i>".$lang_offers['text_see_vote_detail']."</i></a>", 1);
}
//===upload torrent message
@@ -218,7 +218,7 @@ if (isset($_GET['off_details']) && $_GET["off_details"]){
//print($commentbar);
print($pagertop);
commenttable($allrows,"offer",$id);
commenttable($allrows,"offer",$id);
print($pagerbottom);
}
print("<table style='border:1px solid #000000;'><tr>".
@@ -351,9 +351,9 @@ if (isset($_GET["edit_offer"]) && $_GET["edit_offer"]) {
stdhead($lang_offers['head_edit_offer'].": $s");
$title = htmlspecialchars(trim($s));
print("<form id=\"compose\" method=\"post\" name=\"compose\" action=\"?id=".$id."&amp;take_off_edit=1\">".
"<table width=\"940\" cellspacing=\"0\" cellpadding=\"3\"><tr><td class=\"colhead\" align=\"center\" colspan=\"2\">".$lang_offers['text_edit_offer']."</td></tr>");
"<table width=\"97%\" cellspacing=\"0\" cellpadding=\"3\"><tr><td class=\"colhead\" align=\"center\" colspan=\"2\">".$lang_offers['text_edit_offer']."</td></tr>");
tr($lang_offers['row_type']."<font color=\"red\">*</font>", $s2, 1);
tr($lang_offers['row_title']."<font color=\"red\">*</font>", "<input type=\"text\" style=\"width: 650px\" name=\"name\" value=\"".$title."\" />", 1);
tr($lang_offers['row_post_or_photo'], "<input type=\"text\" name=\"picture\" style=\"width: 650px\" value='' /><br />".$lang_offers['text_link_to_picture'], 1);

View File

@@ -24,7 +24,7 @@ $action = isset($_POST['action']) ? $_POST['action'] : 'showmenu';
$allowed_actions = array('basicsettings','mainsettings','smtpsettings','securitysettings','authoritysettings','tweaksettings', 'botsettings','codesettings','bonussettings','accountsettings','torrentsettings', 'attachmentsettings', 'advertisementsettings', 'savesettings_basic', 'savesettings_main','savesettings_smtp','savesettings_security','savesettings_authority','savesettings_tweak','savesettings_bot','savesettings_code','savesettings_bonus', 'savesettings_account','savesettings_torrent', 'savesettings_attachment', 'savesettings_advertisement', 'showmenu');
if (!in_array($action, $allowed_actions))
$action = 'showmenu';
$notice = "<h1 align=\"center\"><a class=\"faqlink\" href=\"settings.php\">".$lang_settings['text_website_settings']."</a></h1><table cellspacing=\"0\" cellpadding=\"10\" width=\"940\"><tr><td colspan=\"2\" style='padding: 10px; background: black' align=\"center\">
$notice = "<h1 align=\"center\"><a class=\"faqlink\" href=\"settings.php\">".$lang_settings['text_website_settings']."</a></h1><table cellspacing=\"0\" cellpadding=\"10\" width=\"97%\"><tr><td colspan=\"2\" style='padding: 10px; background: black' align=\"center\">
<font color=\"white\">".$lang_settings['text_configuration_file_saving_note']."
</font></td></tr>";

View File

@@ -871,7 +871,7 @@ if (isset($searchstr))
elseif ($sectiontype == $browsecatmode)
stdhead($lang_torrents['head_torrents']);
else stdhead($lang_torrents['head_music']);
print("<table width=\"940\" class=\"main\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"embedded\">");
print("<table width=\"97%\" class=\"main\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"embedded\">");
displayHotAndClassic();

View File

@@ -37,7 +37,7 @@ stdhead($lang_upload['head_upload']);
<?php
print("<p align=\"center\">".$lang_upload['text_red_star_required']."</p>");
?>
<table border="1" cellspacing="0" cellpadding="5" width="940">
<table border="1" cellspacing="0" cellpadding="5" width="97%">
<tr>
<td class='colhead' colspan='2' align='center'>
<?php echo $lang_upload['text_tracker_url'] ?>: &nbsp;&nbsp;&nbsp;&nbsp;<b><?php echo get_protocol_prefix() . $announce_urls[0]?></b>
@@ -127,7 +127,7 @@ stdhead($lang_upload['head_upload']);
$processing_select = torrent_selection($lang_upload['text_processing'],"processing_sel","processings");
}
else $processing_select = "";
tr($lang_upload['row_quality'], $source_select . $medium_select. $codec_select . $audiocodec_select. $standard_select . $processing_select, 1 );
}

View File

@@ -64,7 +64,7 @@ else{
?>
<div style="margin-top: 8px">
<?php
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" align=\"center\" width=\"940\"><tr>");
print("<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" align=\"center\" width=\"97%\"><tr>");
print("<td class=\"colhead\">".$lang_uploaders['col_username']."</td>");
print("<td class=\"colhead\">".$lang_uploaders['col_torrents_size']."</td>");
print("<td class=\"colhead\">".$lang_uploaders['col_torrents_num']."</td>");

View File

@@ -161,7 +161,7 @@ if ($action){
}
usercpmenu ("personal");
print ("<table border=0 cellspacing=0 cellpadding=5 width=940>");
print ("<table border=0 cellspacing=0 cellpadding=5 width=1200>");
if ($type == 'saved')
print("<tr><td colspan=2 class=\"heading\" valign=\"top\" align=\"center\"><font color=red>".$lang_usercp['text_saved']."</font></td></tr>\n");
@@ -170,7 +170,7 @@ if ($action){
"<input type=checkbox name=parked" . ($CURUSER["parked"] == "yes" ? " checked" : "") . " value=yes>".$lang_usercp['checkbox_pack_my_account']."<br /><font class=small size=1>".$lang_usercp['text_account_pack_note']."</font>"
,1);
tr_small($lang_usercp['row_pms'],$lang_usercp['text_accept_pms']."<input type=radio name=acceptpms" . ($CURUSER["acceptpms"] == "yes" ? " checked" : "") . " value=yes>".$lang_usercp['radio_all_except_blocks']."<input type=radio name=acceptpms" . ($CURUSER["acceptpms"] == "friends" ? " checked" : "") . " value=friends>".$lang_usercp['radio_friends_only']."<input type=radio name=acceptpms" . ($CURUSER["acceptpms"] == "no" ? " checked" : "") . " value=no>".$lang_usercp['radio_staff_only']."<br /><input type=checkbox name=deletepms" . ($CURUSER["deletepms"] == "yes" ? " checked" : "") . "> ".$lang_usercp['checkbox_delete_pms']."<br /><input type=checkbox name=savepms" . ($CURUSER["savepms"] == "yes" ? " checked" : "") . "> ".$lang_usercp['checkbox_save_pms']."<br /><input type=checkbox name=commentpm" . ($CURUSER["commentpm"] == "yes" ? " checked" : "") . " value=yes> ".$lang_usercp['checkbox_pm_on_comments'],1);
tr_small($lang_usercp['row_gender'],
"<input type=radio name=gender" . ($CURUSER["gender"] == "N/A" ? " checked" : "") . " value=N/A>".$lang_usercp['radio_not_available']."
<input type=radio name=gender" . ($CURUSER["gender"] == "Male" ? " checked" : "") . " value=Male>".$lang_usercp['radio_male']."<input type=radio name=gender" . ($CURUSER["gender"] == "Female" ? " checked" : "") . " value=Female>".$lang_usercp['radio_female'],1);
@@ -395,7 +395,7 @@ if ($showprocessing) $processings = searchbox_item_list("processings");
if ($showteam) $teams = searchbox_item_list("teams");
if ($showaudiocodec) $audiocodecs = searchbox_item_list("audiocodecs");
}
print ("<table border=0 cellspacing=0 cellpadding=5 width=940>");
print ("<table border=0 cellspacing=0 cellpadding=5 width=1200>");
form ("tracker");
if ($type == 'saved')
print("<tr><td colspan=2 class=\"heading\" valign=\"top\" align=\"center\"><font color=red>".$lang_usercp['text_saved']."</font></td></tr>\n");
@@ -639,7 +639,7 @@ tr_small($lang_usercp['row_funbox'],"<input type=checkbox name=showfb".($CURUSER
}
stdhead($lang_usercp['head_control_panel'].$lang_usercp['head_forum_settings'],true);
usercpmenu ("forum");
print ("<table border=0 cellspacing=0 cellpadding=5 width=940>");
print ("<table border=0 cellspacing=0 cellpadding=5 width=1200>");
form ("forum");
if ($type == 'saved')
print("<tr><td colspan=2 class=\"heading\" valign=\"top\" align=\"center\"><font color=red>".$lang_usercp['text_saved']."</font></td></tr>\n");
@@ -716,7 +716,7 @@ tr_small($lang_usercp['row_funbox'],"<input type=checkbox name=showfb".($CURUSER
$ssl = true;
else
$ssl = false;
logincookie($CURUSER["id"], $passh ,1,0x7fffffff,$securelogin_indentity_cookie,$ssl);
//sessioncookie($CURUSER["id"], $passh);
$passupdated = 1;
@@ -794,7 +794,7 @@ EOD;
}
stdhead($lang_usercp['head_control_panel'].$lang_usercp['head_security_settings']);
usercpmenu ("security");
print ("<table border=0 cellspacing=0 cellpadding=5 width=940>");
print ("<table border=0 cellspacing=0 cellpadding=5 width=1200>");
if ($type == 'save') {
print("<form method=post action=usercp.php><input type=hidden name=action value=security><input type=hidden name=type value=confirm>");
$resetpasskey = $_POST["resetpasskey"];
@@ -863,7 +863,7 @@ if ($forumposts)
$percentages = round($forumposts*100/$postcount, 3)."%";
}
?>
<table border="0" cellspacing="0" cellpadding="5" width=940>
<table border="0" cellspacing="0" cellpadding="5" width=1200>
<?php
tr_small($lang_usercp['row_join_date'], $joindate, 1);
tr_small($lang_usercp['row_email_address'], $CURUSER['email'], 1);
@@ -890,13 +890,13 @@ if ($forumposts)
tr($lang_usercp['row_forum_posts'], $forumposts." [<a href=\"userhistory.php?action=viewposts&id=".$CURUSER['id']."\" title=\"".$lang_usercp['link_view_posts']."\">".$lang_usercp['text_view']."</a>] (".$dayposts.$lang_usercp['text_posts_per_day']."; ".$percentages.$lang_usercp['text_of_total_posts'].")", 1);
?>
</table>
<table border="0" cellspacing="0" cellpadding="5" width=940>
<table border="0" cellspacing="0" cellpadding="5" width=1200>
<?php
print("<td align=center class=tabletitle><b>".$lang_usercp['text_recently_read_topics']."</b></td>");
?>
</table>
<?php
print("<table border=0 cellspacing=0 cellpadding=3 width=940><tr>".
print("<table border=0 cellspacing=0 cellpadding=3 width=1200><tr>".
"<td class=colhead align=left width=80%>".$lang_usercp['col_topic_title']."</td>".
"<td class=colhead align=center><nobr>".$lang_usercp['col_replies']."/".$lang_usercp['col_views']."</nobr></td>".
"<td class=colhead align=center>".$lang_usercp['col_topic_starter']."</td>".