$LANG["MSG_MUL"] = "Hey, we have MULTIPLIED your upload by %s!
Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...
So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s";with:
$LANG["MSG_MUL"] = "[size=2][color=#FF2500][b]Hey, we have MULTIPLIED your upload by %s!
Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...
So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s";
replace:
$LANG["MSG_DIV"] = "Hey, we have DIVIDED your upload by %s!
Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...
So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s";
with:
$LANG["MSG_DIV"] = "[size=2][color=#FF2500][b]Hey, we have DIVIDED your upload by %s!
Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...
So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s";"ArcticWolf, post: 88585":not sure what to tell you... i guess I will play around with it on dev site.. my only guess you dont have anything in motm for last month or something LOL!!!
Table structure for table motm
|------
|Column|Type|Null|Default
|------
|//**id**//|varchar(10)|No|
|points|decimal(10,1)|No|0.0
|//**month**//|tinyint(2)|No|
|//**year**//|tinyint(4)|No|
|last_winner|varchar(10)|No|
|last_winner_points|varchar(10)|No|
|win_month|tinyint(2)|No|
|credit|enum('yes', 'no')|No|no
== Dumping data for table motm
|139|70.0|12|12|1|1.0|12|no
|322|3.0|12|12| | |0|no
|24|1.0|12|12| | |0|no
|317|1.0|12|12| | |0|no
|329|9.0|12|12| | |0|no
|38|6.0|12|12| | |0|no
|292|2.0|12|12| | |0|no
|347|1.0|12|12| | |0|no
|147|3.0|12|12| | |0|no
|178|1.0|12|12| | |0|no
|129|4.0|12|12| | |0|no
|2|28.0|12|12| | |0|no
|4|4.0|12|12| | |0|no
|275|3.0|1|13| | |0|no
|139|266.0|1|13| | |0|no
|147|76.0|1|13| | |0|no
|292|43.0|1|13| | |0|no
|24|3.0|1|13| | |0|no
|10|10.0|1|13| | |0|no
|408|1.0|1|13| | |0|no
|410|15.0|1|13| | |0|no
|57|43.0|1|13| | |0|no
|280|1.0|1|13| | |0|no
|355|11.0|1|13| | |0|no
|422|2.0|1|13| | |0|no
|489|3.0|1|13| | |0|no
|493|1.0|1|13| | |0|no
|524|1.0|1|13| | |0|no
|336|3.0|1|13| | |0|no
|544|3.0|1|13| | |0|no
|553|53.0|1|13| | |0|no
|546|6.0|1|13| | |0|no
|2|3.0|1|13| | |0|no
|38|6.0|1|13| | |0|no
|641|6.0|1|13| | |0|no
|292|10.0|2|13| | |0|no
|355|22.0|2|13| | |0|no
|139|50.0|2|13| | |0|no
|553|22.0|2|13| | |0|no
== Table structure for table motm
|------
|Column|Type|Null|Default
|------
|//**id**//|varchar(10)|No|
|points|decimal(10,1)|No|0.0
|//**month**//|tinyint(2)|No|
|//**year**//|tinyint(4)|No|
|last_winner|varchar(10)|No|
|last_winner_points|varchar(10)|No|
|win_month|tinyint(2)|No|
|credit|enum('yes', 'no')|No|no
//== Start member of the month
$motmdateget = SQL_Query_exec("SELECT win_month,year,credit from motm WHERE last_winner ='1'");
$motmdategot = mysql_fetch_array($motmdateget);
$motmdate = $motmdategot[0];
$motmyear = $motmdategot[1];
$mdate = date("m");
$myear = date("y");
if ($motmdate < $mdate) {
$motmdateget1 = SQL_Query_exec("SELECT win_month,year,credit from motm WHERE win_month = '$mdate'");
$motmdategot1 = mysql_fetch_array($motmdateget1);
$motcredit = $motmdategot1[2];
$sql32 = "SELECT id, points FROM motm WHERE points > '0' && year =" . $myear . " ORDER BY points DESC LIMIT 1";
$mysql_result_motm = SQL_Query_exec($sql32);
while ($row_motm = mysql_fetch_array($mysql_result_motm)) {
$nextmonth = (date(m) + 1);
$id_motm = $row_motm['id'];
$pos = $row_motm["points"];
$motmdateget = SQL_Query_exec("SELECT win_month from motm WHERE last_winner ='1'");
$motmdategot = mysql_fetch_array($motmdateget);
$motmdate = $motmdategot[0];
if ($motcredit != 'yes') {
SQL_Query_exec("UPDATE motm SET last_winner = '0' WHERE last_winner = '1'");
SQL_Query_exec("UPDATE motm SET win_month = '$mdate', last_winner_points = '$pos', last_winner = '1', credit='yes' WHERE id = '$id_motm'");
SQL_Query_exec("UPDATE users SET seedbonus = seedbonus+300 WHERE id = '$id_motm'");
SQL_Query_exec("UPDATE motm SET points = '0'");
SQL_Query_exec("UPDATE motm SET last_winner_points = '0' WHERE last_winner != '1'");
} //$motcredit != 'yes'
} //$row_motm = mysql_fetch_array($mysql_result_motm)
} //$motmdate < $mdate
//== End member of the month
Fatal error: Call to undefined function SQL_Query_exec() in /home/divxhunt/public_html/backend/cleanup.php on line 305
$motmdateget = SQL_Query_exec("SELECT win_month,year,credit from motm WHERE last_winner ='1'");
stdhead(T_("HOME"));Below, add:
//===| Start Recommended Torrents |===//
begin_frame("Recommended Torrents");
$rec = SQL_Query_exec("SELECT id, name, added, image1, seeders, leechers, times_completed FROM torrents WHERE banned ='no' AND visible='yes' AND recommended='yes' ORDER BY torrents.id DESC LIMIT 10"); ///limit number of images
if (mysql_num_rows($rec) > 0) {
print("<table align=center cellpadding=4 cellspacing=0 width=100% border=0 class=marquee id=mycrawler2><tr>");
while ($row2 = mysql_fetch_array($rec, MYSQL_NUM)) {
$tor = $row2['0'];
$altname = $row2['1'];
$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";
$res = SQL_Query_exec("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, torrents.added, torrents.seeders, torrents.leechers, torrents.times_completed, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");
$row = mysql_fetch_array($res);
$cat = $row['cat_name'];
$img1 = "<a href=torrents-details.php?id=$row[id]'><img border='0' src='uploads/images/$row[image1]' title=\"$altname | $cat\" width=150 height=210></a>
<div style='margin-top:3px; font: Arial 11px'>
<img src=images/check.png height='11' title='Completed' border=0> <font color=#0080FF><b>".$row['times_completed']."</b></font> |
<img src=images/arrow_up.gif height='11' title='Seeders' border=0> <font color=#00AA00><b>".$row['seeders']."</b></font> |
<img src=images/arrow_down.gif height='11' title='Leechers' border=0> <font color=#FF0000><b>".$row['leechers']."</b></font>
</div>";
if ($row["image1"] != ""){
print("<td align=center>".$img1."</td>");
}
}
print("</tr></table>");
}
end_frame();
//===| End Recommended Torrents |===//
add in your themes header.php before </head> tag
<!--recommended -->
<script type="text/javascript" src="js/crawler.js">
<script type="text/javascript" src="js/jquery.min.js">
</script>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true,
random: false
});
</script>
<!--recommended -->"zamunda, post: 87828":In my theme in header.php, doesnt have this code:
Any help..?
if ($site_config["MIDDLENAV"]){
middleblocks();
<?php
// Start Announcement for Private Messages
if ($unreadmail){
$res_messages = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());
$arr_messages = mysql_fetch_row($res_messages);
$num_messages = $arr_messages[0];
if ($num_messages > 0)
echo"<div style='margin-bottom:5px'><table align=center width=100% border=0 cellspacing=0 cellpadding=10 bgcolor=red><tr><td style='padding: 10px; background: #204066' align=center><div style='font: bold 14px Times New Roman; color:#FFBF00'>
Hey $CURUSER[username], $num_messages message" . ($num_messages > 1 ? "s" : "") . " is waiting for you to read. Click <a href=mailbox.php?inbox><font size=3 color=#CBCBCB>HERE</font></a> to see!
</div></td></tr></table></div>\n";
}
// End Announcement for Private Messages
?>
<?php
// Start Announcement for Reports
if ($CURUSER["control_panel"]=="yes") {
$res_reports = mysql_query("SELECT COUNT(*) FROM reports WHERE dealtwith = '0'");
$arr_reports = mysql_fetch_row($res_reports);
$num_reports = $arr_reports[0];
if ($num_reports > 0)
echo"<div style='margin-bottom:5px'><table align=center width=100% border=0 cellspacing=0 cellpadding=10><tr><td style='padding: 10px; background: #204066' align=center><div style='font: bold 14px Times New Roman; color:#FFBF00'>
Hey $CURUSER[username], $num_reports Report" . ($num_reports > 1 ? "s" : "") . " must be solved. Click <a href=admincp.php?action=reports&do=view><font size=3 color=#CBCBCB>HERE</font></a> to view reports!
</div></td></tr></table></div>\n";
}
// End Announcement for Reports
?> "webknight, post: 87635":maybe somebody wants to try this slider.[url="http://incitorrent.com"]Demo[/url]