|
#1
|
|||
|
|||
How add to image ?
i installed sz edition .
and upload torrents , but not add image ? how to add image ? http://retracker.local/announce this tracker , auto add torrent ? how to deletede this tracker ? plaese help me |
#2
|
|||
|
|||
Sorry i bad englis..
details.php Code:
$announce_urls[] = $announce; //$announce_urls[] = 'http://retracker.local/announce'; Image add torrent Code:
398. $sql = 'SELECT t.seeders, t.banned, t.leechers, t.info_hash, ...... ADD t.image, 459. $description = $row['descr']; ADD $imageiption = $row['image']; 490. $template->assign_vars( array( 'MESSAGE1' => $message1, 'MESSAGE2' => $message2, ....... ADD 'IMAGEIPTION' => $imageiption, upload.php Code:
67. $descr = request_var('descr', ''); ADD $image = request_var('image', ''); 70. if ( !$name || !$descr |..... ADD | !$image | 77. if ( $type == 'request' ) { $sql_ary = array('hits' => 1, 'userid' => $userdata['uid'], 'cat' => $cat_id, 'request' => $name, 'descr' => $descr, ADD 'image' => $image, 100. elseif ( $type == 'offer' ) { $sql_ary = array('userid' => $userdata['uid'], 'category' => $cat_id, 'name' => $name, 'descr' => $descr, ADD 'image' => $image, 189. $sql_ary = array('filename' => $fname, 'owner' => $userdata['uid'], 'info_hash' => $infohash, 'name' => $name, 'size' => $totallen, 'numfiles' => sizeof($filelist), 'descr' => $descr, ADD 'image' => $image, 255. $descr = request_var('descr', ''); ADD $image = request_var('image', ''); 279. $template->assign_vars(array( 'S_FORM_ACTION' => append_sid('upload.php'), 'FORM_ENCTYPE' => ( $type == 'main' ? ' enctype="multipart/form-data"' : '' ), 'MAX_TORRENT_SIZE' => $config['max_torrent_size'], 'NAME' => $name, 'DESCRIPTION' => $descr, ADD 'IMAGEIPTION' => $image, 287. $bb_code = new bbcode($descr); 288. $descr = $bb_code->get_html(); 289. $descr = censor_text($descr); ADD $bb_code = new bbcode($image); $image = $bb_code->get_html(); $image = censor_text($image); SQL file image_add_torrent.sql Code:
ALTER TABLE torrents add image text; Themes edit templates\bithdtv\details.html ADD Code:
<tr> <td class="detail" valign="top" align="right">{L_IMAGE}</td> <td class="detail" valign="top" align="left"><img src="{IMAGEIPTION}"align="center" width="50%"> </td> </tr> ADD Code:
<tr> <td><label for="image">{L_IMAGE}</label></td> <td><textarea name="image" cols="80">{IMAGE}</textarea> <br /><span class="small">{L_IMAGE_MOD}</span></td> </tr> ADD Code:
<tr> <td valign="top" align="right" class="detail">{L_IMAGE}</td> <td valign="top" align=left class="detail"><textarea name="image" cols="100" >{IMAGE}</textarea></td> </tr> languages\........\lang_main.php ADD Code:
'image' => 'Image', 'image_mod' => 'Image edit', Last edited by lekszikov; 26th April 2013 at 12:24. |
Tags |
add , image |
|
|