Add upload.php
search the upload.php 510 line and put it under two lines
PHP Code:
'20' => $lang->upload['seed time'],
'21' => $lang->upload['seed speed'],
'14' => '<input type="checkbox" name="scene" value="yes"'.($_GET['scene'] == 'yes' ? ' checked="checked"' : '').'> '.$lang->upload['scene2'],
put it in the next line
PHP 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'],
If this is done open your eztekez
the takeupload.php Search this line
PHP Code:
else
{
$sticky = 'no';
}
add this code
PHP Code:
$sebesseg = $_POST["sebesseg"];
$ido = $_POST["ido"];
add this detalis.php 49 lines
and this line to change this
561 lines
PHP Code:
$fname = "[Site name]".$fname;$ret = sql_query ('INSERT INTO torrents (t_image, t_link, filename, genre, sebesseg, ido, seedbox, youtube, owner, visible, anonymous, free, silver, sticky, offensive, info_hash, name, size, numfiles, descr, category, added, ' . $q1 . 'last_action' . $sql1 . ') VALUES (' . implode (',', array_map ('sqlesc', array ((!empty ($t_image) ? $t_image : (!empty ($cover_photo_name) ? $BASEURL . '/' . $cover_photo_name : '')), (!empty ($t_link) ? $t_link : ''), $fname, $genre, $sebesseg, $ido, $seedbox, $youtube, $CURUSER['id'], $visible, $anonymous, $free, $silver, $sticky, $offensive, $infohash, $torrent, $totallen, count ($filelist), $descr, 0 + $_POST['type']))) . ', \'' . get_date_time () . '\', ' . $q2 . '\'' . get_date_time () . '\'' . $sql2 . ')');
t.name, After you do it
t.sebesseg, t.ido,
add detalis.php
PHP 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>
execute this SQL code
PHP Code:
ALTER TABLE 'torrents' ADD `sebesseg` text NOT NULL,
ALTER TABLE 'torrents' ADD `ido` text NOT NULL,
ALTER TABLE torrents ADD `sebesseg` text character set utf8 NOT NULL ;
ALTER TABLE torrents ADD `ido` text character set utf8 NOT NULL ;
add upload.lang.php and detalis.lang.php
'seed sped' =>'Seed speed',
'seed time' =>'Seed time',
and the code is ready to go
if something is good write pm or ask here but off Flee