Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

thank you Thib

merci Thib

j'y suis presque hein?

:D
Show webseed — 2013-06-16 10:57:31 in v2 Only Mods Complete
hello Huuu

where put this code?please

<?php
//
// TorrentTrader v2.x
// $LastChangedDate: 2011-11-11 16:48:38 +0000 (Fri, 11 Nov 2011) $
// $LastChangedBy: dj-howarth1 $
//
// [url="http://www.torrenttrader.org"]http://www.torrenttrader.org[/url]
//
//
require_once("backend/functions.php");
dbconn();
loggedinonly();

$id = (int) $_REQUEST["id"];
if (!is_valid_id($id)) show_error_msg(T_("ERROR"), T_("INVALID_ID"), 1);
$action = $_REQUEST["action"];

$row = mysql_fetch_assoc(SQL_Query_exec("SELECT `owner` FROM `torrents` WHERE id=$id"));
if($CURUSER["edit_torrents"]=="no" && $CURUSER['id'] != $row['owner'])
show_error_msg(T_("ERROR"), T_("NO_TORRENT_EDIT_PERMISSION"), 1);


function uploadimage($x, $imgname, $tid) {
global $site_config;

$imagesdir = $site_config["torrent_dir"]."/images";

$allowed_types = &$site_config["allowed_image_types"];

if ( !( $_FILES["image$x"]["name"] == "" ) ) {
if ($imgname != "") {
$img = "$imagesdir/$imgname";
$del = unlink($img);
}

$y = $x + 1;

$im = getimagesize($_FILES["image$x"]["tmp_name"]);

if (!$im[2])
show_error_msg("Error", "Invalid Image $y.", 1);

if (!array_key_exists($im['mime'], $allowed_types))
show_error_msg(T_("ERROR"), T_("INVALID_FILETYPE_IMAGE"), 1);

if ($_FILES["image$x"]["size"] > $site_config['image_max_filesize'])
show_error_msg(T_("ERROR"), sprintf(T_("INVAILD_FILE_SIZE_IMAGE"), $y), 1);

$uploaddir = "$imagesdir/";

$ifilename = $tid . $x . $allowed_types[$im['mime']];

$copy = copy($_FILES["image$x"]["tmp_name"], $uploaddir.$ifilename);

if (!$copy)
show_error_msg(T_("ERROR"), sprintf(T_("ERROR_UPLOADING_IMAGE"), $y), 1);

return $ifilename;
}
}//end func


//GET DATA FROM DB
$res = SQL_Query_exec("SELECT * FROM torrents WHERE id = $id");
$row = mysql_fetch_array($res);
if (!$row){
show_error_msg(T_("ERROR"), T_("TORRENT_ID_GONE"), 1);
}

$torrent_dir = $site_config["torrent_dir"];
$nfo_dir = $site_config["nfo_dir"];

//DELETE TORRENT
if ($action=="deleteit"){
$torrentid = (int) $_POST["torrentid"];
$delreason = sqlesc($_POST["delreason"]);
$torrentname = $_POST["torrentname"];

if (!is_valid_id($torrentid))
show_error_msg(T_("FAILED"), T_("INVALID_TORRENT_ID"), 1);

if (!$delreason){
show_error_msg(T_("ERROR"), T_("MISSING_FORM_DATA"), 1);
}

deletetorrent($torrentid);

write_log($CURUSER['username']." has deleted torrent: ID:$torrentid - ".htmlspecialchars($torrentname)." - Reason: ".htmlspecialchars($delreason));
if ($CURUSER['id'] != $row['owner']) {
$delreason = $_POST["delreason"];
SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, unread, location) VALUES(0, ".$row['owner'].", '".get_date_time()."', 'Your torrent '$torrentname' has been deleted by ".$CURUSER['username']."', ".sqlesc("'$torrentname' was deleted by ".$CURUSER['username']."nnReason: $delreason").", 'yes', 'in')");
}

show_error_msg(T_("COMPLETED"), htmlspecialchars($torrentname)." ".T_("HAS_BEEN_DEL_DB"),1);
die;
}

//DO THE SAVE TO DB HERE
if ($action=="doedit"){
$updateset = array();

$nfoaction = $_POST['nfoaction'];
if ($nfoaction == "update"){
$nfofile = $_FILES['nfofile'];
if (!$nfofile) die("No data " . var_dump($_FILES));
if ($nfofile['size'] > 65535)
show_error_msg("NFO is too big!", "Max 65,535 bytes.",1);
$nfofilename = $nfofile['tmp_name'];
if (@is_uploaded_file($nfofilename) && @filesize($nfofilename) > 0){
@move_uploaded_file($nfofilename, "$nfo_dir/$id.nfo");
$updateset[] = "nfo = 'yes'";
}//success
}

if (!empty($_POST["name"]))
$updateset[] = "name = " . sqlesc($_POST["name"]);

$updateset[] = "descr = " . sqlesc($_POST["descr"]);
$updateset[] = "category = " . (int) $_POST["type"];
$updateset[] = "torrentlang = " . (int) $_POST["language"];

if ($CURUSER["edit_torrents"] == "yes") {
if ($_POST["banned"]) {
$updateset[] = "banned = 'yes'";
$_POST["visible"] = 0;
} else {
$updateset[] = "banned = 'no'";
}
}

$updateset[] = "visible = '" . ($_POST["visible"] ? "yes" : "no") . "'";

if ($CURUSER["edit_torrents"] == "yes")
$updateset[] = "freeleech = '".$_POST["freeleech"]."'";

$updateset[] = "anon = '" . ($_POST["anon"] ? "yes" : "no") . "'";
//webseed
if ($CURUSER["edit_torrents"] == "yes")
$updateset[] = "webseed = '".$_POST["webseed"]."'";
//
//update images
$img1action = $_POST['img1action'];
if ($img1action == "update")
$updateset[] = "image1 = " .sqlesc(uploadimage(0, $row["image1"], $id));
if ($img1action == "delete") {
if ($row[image1]) {
$del = unlink($site_config["torrent_dir"]."/images/$row[image1]");
$updateset[] = "image1 = ''";
}
}

$img2action = $_POST['img2action'];
if ($img2action == "update")
$updateset[] = "image2 = " .sqlesc(uploadimage(1, $row["image2"], $id));
if ($img2action == "delete") {
if ($row[image2]) {
$del = unlink($site_config["torrent_dir"]."/images/$row[image2]");
$updateset[] = "image2 = ''";
}
}


SQL_Query_exec("UPDATE torrents SET " . join(",", $updateset) . " WHERE id = $id");

$returl = "torrents-edit.php?id=$id&edited=1";
if (isset($_POST["returnto"])){
$returl = $_POST["returnto"];
}

write_log("Torrent $id (".htmlspecialchars($_POST["name"]).") was edited by $CURUSER[username]");

header("Location: $returl");
die();
}//END SAVE TO DB

//UPDATE CATEGORY DROPDOWN
$catdropdown = "<select name="type">n";
$cats = genrelist();
foreach ($cats as $catdropdownubrow) {
$catdropdown .= "<option value="" . $catdropdownubrow["id"] . """;
if ($catdropdownubrow["id"] == $row["category"])
$catdropdown .= " selected="selected"";
$catdropdown .= ">" . htmlspecialchars($catdropdownubrow["parent_cat"]) . ": " . htmlspecialchars($catdropdownubrow["name"]) . "</option>n";
}
$catdropdown .= "</select>n";
//END CATDROPDOWN

//UPDATE TORRENTLANG DROPDOWN
$langdropdown = "<select name="language"><option value='0'>Unknown</option>n";
$lang = langlist();
foreach ($lang as $lang) {
$langdropdown .= "<option value="" . $lang["id"] . """;
if ($lang["id"] == $row["torrentlang"])
$langdropdown .= " selected="selected"";
$langdropdown .= ">" . htmlspecialchars($lang["name"]) . "</option>n";
}
$langdropdown .= "</select>n";
//END TORRENTLANG


$char1 = 55;
$shortname = CutName(htmlspecialchars($row["name"]), $char1);

if ($_GET["edited"]){
show_error_msg("Edited OK", T_("TORRENT_EDITED_OK"), 1);
}

stdhead(T_("EDIT_TORRENT")." "$shortname"");

begin_frame(T_("EDIT_TORRENT")." "$shortname"");

print("<br /><br /><form method='post' name="bbform" enctype="multipart/form-data" action="torrents-edit.php?action=doedit">n");
print("<input type="hidden" name="id" value="$id" />n");

if (isset($_GET["returnto"]))
print("<input type="hidden" name="returnto" value="" . htmlspecialchars($_GET["returnto"]) . "" />n");

print("<table border='0' cellspacing='4' cellpadding='2' width='95%'>n");
echo "<tr><td align='right' width='60'><b>".T_("NAME").": </b></td><td><input type="text" name="name" value="" . htmlspecialchars($row["name"]) . "" size="60" /></td></tr>";
echo "<tr><td align='right'><b>".T_("IMAGE").": </b></td><td><b>".T_("IMAGE")." 1:</b>&nbsp;&nbsp;<input type='radio' name='img1action' value='keep' checked='checked' />".T_("KEEP_IMAGE")."&nbsp;&nbsp;"."<input type='radio' name='img1action' value='delete' />".T_("DELETE_IMAGE")."&nbsp;&nbsp;"."<input type='radio' name='img1action' value='update' />".T_("UPDATE_IMAGE")."<br /><input type='file' name='image0' size='60' /> <br /><br /> <b>".T_("IMAGE")." 2:</b>&nbsp;&nbsp;<input type='radio' name='img2action' value='keep' checked='checked' />".T_("KEEP_IMAGE")."&nbsp;&nbsp;"."<input type='radio' name='img2action' value='delete' />".T_("DELETE_IMAGE")."&nbsp;&nbsp;"."<input type='radio' name='img2action' value='update' />".T_("UPDATE_IMAGE")."<br /><input type='file' name='image1' size='60' /></td></tr>";
echo "<tr><td align='right'><b>".T_("NFO").": </b><br /></td><td><input type='radio' name='nfoaction' value='keep' checked='checked' />Keep NFO &nbsp; <input type='radio' name='nfoaction' value='update' />Update NFO:";
if ($row["nfo"] == "yes"){
echo "&nbsp;&nbsp;<a href='nfo-view.php?id=".$row["id"]."' target='_blank'>[".T_("VIEW_CURRENT_NFO")."]</a>";
} else{
echo "&nbsp;&nbsp;<font color='#ff0000'>".T_("NO_NFO_UPLOADED")."</font>";
}
echo "<br /><input type='file' name='nfofile' size='60' /></td></tr>";

echo "<tr><td align='right'><b>".T_("CATEGORIES").": </b></td><td>".$catdropdown."</td></tr>";

echo "<tr><td align='right'><b>".T_("LANG").": </b></td><td>".$langdropdown."</td></tr>";

if ($CURUSER["edit_torrents"] == "yes")
echo "<tr><td align='right'><b>".T_("BANNED").": </b></td><td><input type="checkbox" name="banned"" . (($row["banned"] == "yes") ? " checked="checked"" : "" ) . " value="1" /> ".T_("BANNED")."?<br /></td></tr>";
echo "<tr><td align='right'><b>".T_("VISIBLE").": </b></td><td><input type="checkbox" name="visible"" . (($row["visible"] == "yes") ? " checked="checked"" : "" ) . " value="1" /> " .T_("VISIBLEONMAIN"). "<br /></td></tr>";

if ($row["external"] != "yes" && $CURUSER["edit_torrents"] == "yes"){
echo "<tr><td align='right'><b>".T_("FREE_LEECH").": </b></td><td><input type="checkbox" name="freeleech"" . (($row["freeleech"] == "1") ? " checked="checked"" : "" ) . " value="1" />".T_("FREE_LEECH_MSG")."<br /></td></tr>";
}

//webseed
if ($row["external"] != "yes" && $CURUSER["edit_torrents"] == "yes"){
echo "<tr><td align=right><B>Webseed: </b></TD><TD><input type="checkbox" name="webseed"" . (($row["webseed"] == "1") ? " checked="checked"" : "" ) . " value="1" />Torrent with Webseed<br>";
}
//
if ($site_config['ANONYMOUSUPLOAD']) {
echo "<tr><td align='right'><b>".T_("ANONYMOUS_UPLOAD").": </b></td><td><input type="checkbox" name="anon"" . (($row["anon"] == "yes") ? " checked="checked"" : "" ) . " value="1" />(".T_("ANONYMOUS_UPLOAD_MSG").")<br /></td></tr>";
}

print ("<tr><td align='center' colspan='2'><b>" .T_("DESCRIPTION"). ":</b></td></tr></table>");
require_once("backend/bbcode.php");
print textbbcode("bbform","descr", htmlspecialchars($row["descr"]));


print("<br /><center><input type="submit" value='".T_("SUBMIT")."' /> <input type='reset' value='".T_("UNDO")."' /></center>n");
print("</form>n");
end_frame();

begin_frame(T_("DELETE_TORRENT"));
print("<center><form method='post' action='torrents-edit.php?action=deleteit&amp;id=$id'>n");
print("<input type='hidden' name='torrentid' value='$id' />n");
print("<input type='hidden' name='torrentname' value='".htmlspecialchars($row["name"])."' />n");
echo "<b>".T_("REASON_FOR_DELETE")."</b><input type='text' size='30' name='delreason' />";
echo "&nbsp;<input type='submit' value='".T_("DELETE_TORRENT")."' /></form></center>";
end_frame();

stdfoot();

?>
Hello i need help me

#======================================================================#
# Nick Name Change
#======================================================================#

if($action == "nick_change")
{
stdhead();
navmenu();
if ($CURUSER["edit_users"]!="yes")
show_error_msg("STOP", "You cannot acces this function");
if (!isset($_GET['what'])) $_GET['what'] = '';
begin_frame("Change Nick Name");
?>
<script type="text/javascript">
<!--

var newwindow;
function popusers(url)
{
newwindow=window.open(url,'popusers','height=70,width=400');
if (window.focus) {newwindow.focus()}
}

// -->
</script>
<form method=post name=edit action=admincp.php>
<input type='hidden' name='sid' value='<?=$sid?>'>
<input type='hidden' name='action' value='sql'>
<input type='hidden' name='do' value='change_username'>
<table border=0 cellspacing=0 cellpadding=5>
<?
print("<tr><td>Nick:</td>");
print("<td>");
if (!$receiver){
print("<input type="text" name="receiver"
value="".($_GET["what"]!="new" ? unesc($result["poster"]):urldecode($_GET["to"]))."" size="40" ".($_GET["what"]!="new" ? "READONLY" : "")." />&nbsp;&nbsp;
<a href="javascript:popusers('userfind_to_nick.php');">Find a NickName</a>");
}
else{
?>
<input type=text name=receiver value="<?=$receiver?>" READONLY>
<?
}
?>
   <tr>
       <td>New Nickname:</td>
       <td><input name='new_username' type='text' id="new_username" size='20' maxlength='20'></td>
   </tr>
   <tr>
       <td colspan='2' align='center'><input type='submit' value='Make changes'>
        </td>
        </tr>
     </form>
   </table>
   <p>
<?php
end_frame();
stdfoot();
}

if($do == "change_username")
{
stdhead();
navmenu();
if ($CURUSER["edit_users"]!="yes")
show_error_msg("STOP", "you Cannot access this function",1);
begin_frame("Changes have been successful");
$current_username = $_POST['receiver'];
$new_username=$_POST['new_username'];
$q = SQL_Query_exec("UPDATE users SET username = '$new_username' WHERE username = '$current_username'");
if ($q)
   echo '<b> Changes have been successful, User: '.$current_username.' is now '.$new_username.'</b>';
else
   echo '<b> Changes <font size=1 face=Verdana color=red>not</font> been successful</b>';
end_frame();
stdfoot();
}

#======================================================================#
# End code change Nick Name
#======================================================================#


hello ArticWolf

use TT2.08

this correct this code?

#======================================================================#
# Add Users
#======================================================================#
if ($action == "adduser") {
   if ($CURUSER["class"] < "9") {
       show_error_msg("Error", "Sorry you do not have the rights to view this page!", 1);
   }
if ($_SERVER["REQUEST_METHOD"] == "POST") {
       if ($_POST["username"] == "" || $_POST["password"] == "" || $_POST["email"] == "")
           show_error_msg(T_("ERROR"), T_("DONT_LEAVE_ANY_FIELD_BLANK"),1);
       if ($_POST["password"] != $_POST["password2"])
           show_error_msg(T_("ERROR"), T_("PASSWORDS_NOT_MATCH"),1);
       $username = sqlesc($_POST["username"]);
       $password = $_POST["password"];
       $email = sqlesc($_POST["email"]);
       $secret = mksecret();
       $passhash = sqlesc(passhash($password)); // hash the password
       $secret = sqlesc($secret);
       SQL_Query_exec("INSERT INTO users (added, last_access, secret, username, password, status, email, stylesheet, language, uploaded) VALUES(NOW(), NOW(), $secret, $username, $passhash, 'confirmed', $email, $site_config["default_theme"], $site_config["default_language"], 5368709120)") or die(mysql_error());
       $id = mysql_insert_id();
//send pm to new user
if ($site_config["WELCOMEPMON"]){
       $dt = sqlesc(get_date_time());
       $msg = sqlesc($site_config["WELCOMEPMMSG"]);
       SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, poster) VALUES(0, $id, $dt, $msg, 0)");
}
       $res = SQL_Query_exec("SELECT id FROM users WHERE username=$username");
       $arr = mysql_fetch_row($res);
       if (!$arr)
           show_error_msg(T_("ERROR"), "Unable to create the account. The user name is possibly already taken.",1);
       header("Location: account-details.php?id=$arr[0]");
       die;
}

stdhead("Add user");
navmenu();
begin_frame("Add User");
?>

<div align=center>    
<CENTER><form method=get action=?>    
<input type=hidden name=action value=users>    Search Users: <input type=text size=30 name=search>    <input type=submit value='Search'>    
</form></CENTER><br />

<div align=center>
<h1>Add user</h1>
<form method=post action=admincp.php?action=adduser>
<table border=1 cellspacing=0 cellpadding=5>
<tr><td class=rowhead>Username</td><td><input type=text name=username size=40></td></tr>
<tr><td class=rowhead>Password</td><td><input type=password name=password size=40></td></tr>
<tr><td class=rowhead>Re-type password</td><td><input type=password name=password2 size=40></td></tr>
<tr><td class=rowhead>E-mail</td><td><input type=text name=email size=40></td></tr>
<tr><td colspan=2 align=center><input type=submit value="Okay" class=btn></td></tr>
</table>
</form>
</div>
<?

end_frame();
stdfoot();

}
#======================================================================#
# END Add Users
#======================================================================#
Yo Tiloup

    <td align="center"><a href="admincp.php?action=nick_change"><img src="images/admin/nick.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("CHANGE_NICKNAME"); ?><br /></a></td>
thank UFFEN01

dur dur de suivre les instructions

my job is technicien of mainteance network
hello ArticWolf

were put this ligne code exactly in torrents-upload

after,before,below  :P

//update seedbox
if($CURUSER["class") > 4) {
if ($_POST["seedbox"] == "yes") {
$seedbox = 'yes';
}else{
$seedbox = 'no';
}
}
hello Tiloup where put this code?

bonjour Tiloup ou mettre les lignes de code?quel fichié?

i want testing  :)

j'aimerais tester  :)
TT 2.08

SQL


CREATE TABLE IF NOT EXISTS `shoutannounce` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL DEFAULT '',
`descr` text NOT NULL,
`added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`active` enum('yes','no') NOT NULL DEFAULT 'yes',
`time` int(11) unsigned NOT NULL DEFAULT '0',
`last_time` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1;


cleanup


//OPTIMIZE TABLES
 

   $res = SQL_Query_exec("SHOW TABLES");
   $query = SQL_Query_exec("SELECT `id`, `descr`, `time`, `last_time` FROM `shoutannounce` WHERE `active` = 'yes'");
           while ($row = mysql_fetch_array($query)) {
if ($row['last_time'] + $row['time'] > gmtime())
           continue;
       SQL_Query_exec("INSERT INTO ajshoutbox (uid, date, name, text) VALUES(0,NOW(), '<font color=red >BoT</font>', " . sqlesc($row['descr']) . ")");
       SQL_Query_exec("UPDATE `shoutannounce` SET `last_time` = '" . gmtime() . "' WHERE `id` = " . $row['id'] . "");
   }
       //SQL_Query_exec("OPTIMIZE TABLE `$table[0]`;");
   }

}

?>


admincp


//shoutannonce
if ($action == "shoutannounce")
{
    if ($_SERVER['REQUEST_METHOD'] == 'POST')
    {
        if (empty($_POST['title']) || empty($_POST['descr']) || !is_valid_id($_POST['time']))
            show_error_msg("Error", "Form not completed. <a href='admincp.php?action=shoutannounce'>return</a>?", 1);
        SQL_Query_exec("INSERT INTO `shoutannounce` (`title`, `descr`, `added`, `time`) VALUES ('" . $_POST['title'] . "', '" . $_POST['descr'] . "', '" . get_date_time() . "', '" . $_POST['time'] . "')");
        show_error_msg("Success", "Announcement Created. <a href='admincp.php?action=shoutannounce'>return</a>?", 1);
    }

    stdhead("Create New Announcement");
    navmenu();

    begin_frame("Create New Announcement");
    echo("<form name='shoutannounce' method='post' action='admincp.php?action=shoutannounce'>");
    echo("<table border='0' cellpadding='5' cellspacing='0' align='center'>");
    echo("<tr>");
    echo("<th><strong>Title:</strong></td>");
    echo("<th><input type='text' name='title' size='30' /></td>");
    echo("</tr>");
    echo("<tr>");
    echo("<th><strong>Time:</strong></td>");
    echo("<th><select name='time'><option value='1800'>30 Mins</option><option value='3600'>1 Hour</option></select></td>");
    echo("</tr>");
    echo("</table>");
    require_once("backend/bbcode.php");
    echo(textbbcode("shoutannounce","descr","$descr"));
    echo("<input type='reset' value='Reset' /><input type='submit' value='Submit' />");
    echo("</form>");

    end_frame();
    stdfoot();
}
if ($action == 'shouteditannounce')
{
    $id = isset($_GET['id']) ? $_GET['id'] : '';

    if (!is_valid_id($id))
         show_error_msg("Error", "Thats an Invalid ID O_o", 1);

    $sql = SQL_Query_exec("SELECT * FROM `shoutannounce` WHERE `id` = $id");
    $row = mysql_fetch_array($sql);

    if (!$row)
         show_error_msg("Error", "Invalid ID.", 1);

    if ($_SERVER["REQUEST_METHOD"] == "POST")
    {
        if (empty($_POST['title']) || empty($_POST['descr']) || !is_valid_id($_POST['time']))
            show_error_msg("Error", "Form not completed. <a href='admincp.php?action=shouteditannounce&amp;id=$id'>return</a>?", 1);
        SQL_Query_exec("UPDATE `shoutannounce` SET `title` = '" . $_POST['title'] . "', `descr` = '" . $_POST['descr'] . "', `time` = '" . $_POST['time'] . "', `active` = '" . $_POST['active'] . "' WHERE `id` = $id");      
        show_error_msg("Success", "Announcement edited. <a href='admincp.php?action=shoutannounce'>return</a>?", 1);
   }

    stdhead("Edit Announcement");
    navmenu();

    begin_frame("Edit Announcement");

    echo("<form name='shouteditcreate' method='post' action='admincp.php?action=shouteditannounce&amp;id=$id'>");
    echo("<table border='0' cellpadding='5' cellspacing='0' align='center'>");
    echo("<tr>");
    echo("<th><strong>Title:</strong></td>");
    echo("<th><input type='text' name='title' size='30' value='" . htmlspecialchars($row['title']) . "' /></td>");
    echo("</tr>");
    echo("<tr>");
    echo("<th><strong>Time:</strong></td>");
    echo("<th><select name='time'><option value='1800' " . ($row['time'] == '1800' ? 'selected="selected"' : '' ). ">30 Mins</option><option value='3600' " . ($row['time'] == '3600' ? 'selected="selected"' : ''). ">1 Hour</option></select></td>");
    echo("</tr>");
    echo("<tr>");
    echo("<th><strong>Enabled:</strong></td>");
    echo("<th><select name='active'><option value='yes' " . ($row['active'] == 'yes' ? 'selected="selected"' : '' ). ">Yes</option><option value='no' " . ($row['active'] == 'no' ? 'selected="selected"' : ''). ">No</option></select></td>");
    echo("</tr>");
    echo("</table>");
    require_once("backend/bbcode.php");
    echo(textbbcode("shouteditcreate","descr", $row['descr']));
    echo("<input type='reset' value='Reset' /><input type='submit' value='Submit' />");
    echo("</form>");
    end_frame();
    stdfoot();
}
//End shoutannonce



<td align="center"><a href="admincp.php?action=shoutannounce"><img src="images/admin/blocked.gif" border="0" width="32" height="32"><br />Shoutbox Announce<br /></a></td>
hello Tiloup it's not possible this sql,and best regards this code to code founction.php

Quote:
if ($row["freeleech"] == 1) {
               $freeleech = "<img src='images/free.gif' border='0' title='Free Leech'>";
TT2.08

i suppose this code for silver

Quote:
if ($row["silver"] == 2) {
               $silver = " <img src='images/silver.gif' border='0' title='Silver'>";
                   } else {
               $silver = "";
good joob perfect
i m crazy put this code on upavatar.php  :wacko:   sorry
hello Thib where put this code

Quote:
$action = $_REQUEST["action"];
i the same message

Direct access not allowed !!!

Go to: account
Quote:
ALTER TABLE users ADD(parked enum ('yes','no') NOT NULL default 'no');
modified

Quote:
ALTER TABLE users ADD parked enum ('yes','no') NOT NULL default 'no';
"phoenix75, post: 90647":

thanks you Thib good work  ;)

grand Merci Thib ça fonctionne
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6762"]admincp.php[/url]
thanks you Thib good work  ;)

grand Merci Thib ça fonctionne
it's work to TT2.08?

apply this mod,blank page site  <_<
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728