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
Members Connexion Info In Account-Detail
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2011-03-30 06:21:14
Hi all here a mod to show the members connection info.

First

SQL

ALTER TABLE `users` ADD `debit` char(255)



ALTER TABLE `users` ADD `maxdebit` char(255)



ALTER TABLE `users` ADD `pcouvert` char(255)
Next Open Account-Details.Php And Find


 <?php

if ($user["freeleechuser"] == "yes")

{





Add Before The <?php



<td width="5%"><center>

<font color="white" size="3">Information Sur La Connection Du Membre.</font>

<?

if ($CURUSER["id"]==$user["id"]) {

?>

<font color="white" size="3">[</font><a href="back.php"><font color="white" size="1">Modifier</font></a><font color="white" size="3">]</font><br><br>

<?

}

?><br><br>

<font color="white">Telechargement Maximum Par Mois:</font><font size=1 color=#BDBDBD> <?=$user["maxdebit"]?></font>

<hr width="30%" align="center">

<font color="white">Vitesse De La Connection:</font> <font size=1 color=#BDBDBD><?=$user["debit"]?></font>

<hr width="30%" align="center">

<font color="white">Ordi Ouvert:</font><font size=1 color=#BDBDBD> <?=$user["pcouvert"]?></font>

</td>



Now Create File Named back.php and paste this code:

<?
require "backend/functions.php";

dbconn(false);

stdhead("Personaliser Mon Profile");

begin_frame("Personaliser Mon Profile");

$res = mysql_query("SELECT * FROM users WHERE id = " . $CURUSER["id"] . "");

$row = mysql_fetch_array($res);

?>

<center>

<font color=white size=3>Personaliser Vos Information De Connection</font>

<table width="95%" cellspacing="0" cellpadding="5" border="1" class="table_table">

<tbody>

<form method="POST" action="modtaskdebit.php">

<tr><td align="right" class="table_col1"><b>Ecriver Votre Limit De T
Unknown User
2011-03-30 15:31:33
In english please  :lol: .
2011-03-30 22:23:32
Salut tib3n, merci pour ce mode!  :lol:

erreur, d





Capture.PNG
Capture.PNG
Capture1.PNG
Capture1.PNG
Capture2.PNG
Capture2.PNG

Unknown User
2011-03-31 18:01:36
"tiloup, post: 71736":
Salut tib3n, merci pour ce mode!  :lol:

erreur, d
Unknown User
2011-03-31 18:26:33
i would probably use $_POST instead of $_REQUEST and i would probably also use the sqlesc function for escaping the data
Unknown User
2011-03-31 23:03:27
"djhowarth, post: 71755":
i would probably use $_POST instead of $_REQUEST and i would probably also use the sqlesc function for escaping the data
i dont know what you mean ?
2011-03-31 23:53:15
"djhowarth, post: 71755":
i would probably use $_POST instead of $_REQUEST and i would probably also use the sqlesc function for escaping the data

thanks  DJ ,

$_POST instead of $_REQUEST of table

I understand and I allowed myself to make the correction and even a change! lol

~~~~~~~~~~~~~~~**

j'ai compris et je me suis permis de faire la correction et de meme une modification! lol

SQL

ALTER TABLE `users` ADD `debit` char(255) NOT NULL DEFAULT '0';



ALTER TABLE `users` ADD `maxdebit` char(255) NOT NULL DEFAULT '0';



ALTER TABLE `users` ADD `pcouvert` char(255) NOT NULL DEFAULT '0';
Ouvrir/open modtaskdebit.php:


<?php

require "backend/functions.php";

dbconn(true);



$maxdebit = $_REQUEST['maxdebit'];

$debit = $_REQUEST['debit'];

$pcouvert = $_REQUEST['pcouvert'];



$qp2 = "UPDATE users SET maxdebit = '$maxdebit' WHERE id = '$CURUSER[id]'";

$resultqp2 = mysql_query($qp2) or die("shit it don't work");



$qp3 = "UPDATE users SET debit = '$debit' WHERE id = '$CURUSER[id]'";

$resultqp3 = mysql_query($qp3) or die("shit it don't work");



$qp1 = "UPDATE users SET pcouvert = '$pcouvert' WHERE id = '$CURUSER[id]'";

$resultqp1 = mysql_query($qp1) or die("shit it don't work");



header("Location:back.php");

?>




Chang



Capture.PNG
Capture.PNG
Capture1.PNG
Capture1.PNG

Unknown User
2011-04-01 04:19:53
Ok je comprend j'ai modifier mon tuto.

oh ok i understand now, i edited my tuto.

Peace
Unknown User
2011-04-01 14:36:04
yes everything should be ok
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728