View Single Post
  #4  
Old 13th October 2011, 13:56
Omenke Omenke is offline
Senior Member
 
Join Date: May 2010
Hungary
Posts: 35
Default Re
upload.php file to open it, and then locate the following line
PHP Code:
postoptionstitle = array ( 
including the two lines into this mess.
The number may vary.
PHP Code:
'20'    =>     $lang->upload['seed time'],
        
'21'    =>     $lang->upload['seed speed'], 
same here and then browse to this line

PHP Code:
'1'        =>'<input type="text" name="trackerurl" id="specialboxg" size="70" value="'.($_GET['trackerurl'] ? htmlspecialchars_uni(base64_decode($_GET['trackerurl'])) : $alink).'"'.$enabledisable.'>'.$info.''
the beginning and then put it into

Code:
'21'        =>    '<input type="text" name="sebesseg" id="specialboxg" size="70"><br />'.$lang->upload['seed speed'],
        '20'        =>    '<input type="text" name="ido" id="specialboxg" size="70"><br />'.$lang->upload['seed time'],
Then opens the TAKEUPLOAD.PHP FILES
This finds else
Code:
  {
    $sticky = 'no';
  }
This is a driver under this

Code:
$sebesseg = $_POST["sebesseg"];



$ido = $_POST["ido"];  
then look for this


Code:
sql_query ('INSERT INTO torrents (t_image, t_link,
After you insert this in the t.name
Code:
t.sebesseg, t.ido,
Then open the details.php
and find it
Code:
<td colspan="3" class="thead">'.$isfree.$issilver.$isdoubleupload.' '.htmlspecialchars_uni($torrent['name']).'</td>
and paste it anywhere here

Code:
<tr>
        <td style="padding-left: 5px;" class="subheader" valign="top" width="147">'.$lang->details['seed sped'].'</td>
        <td valign="top" style="padding-left: 5px;">'.$torrent['sebesseg'].'</td>
    </tr>
    <tr>
        <td style="padding-left: 5px;" class="subheader" valign="top" width="147">'.$lang->details['seed time'].'</td>
        <td valign="top" style="padding-left: 5px;">'.$torrent['ido'].'</td>
    </tr>  
then you add it to mysql

Code:
ALTER TABLE `torrents` ADD `ido` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL;
ALTER TABLE `torrents` ADD `sebesseg` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL;
Then in the language file you add this line to upload and 2 into the details should be given

Code:
'seed speed'   =>'Seed speed',
'seed time'   =>'Seed time',

Last edited by Omenke; 13th October 2011 at 19:30.
Reply With Quote
The Following 2 Users Say Thank You to Omenke For This Useful Post:
Marco (13th October 2011), mmisu120000 (13th October 2011)