Esempio n. 1
0
    function simple_form($CategoryID)
    {
        $Torrent = $this->Torrent;
        ?>
		<table cellpadding="3" cellspacing="1" border="0" class="layout border slice" width="100%">
			<tr id="name">
<?php 
        if ($this->NewTorrent) {
            if ($this->Categories[$CategoryID] == 'E-Books') {
                ?>
				<td class="label">Author - Title:</td>
<?php 
            } else {
                ?>
				<td class="label">Title:</td>
<?php 
            }
            ?>
				<td><input type="text" id="title" name="title" size="60" value="<?php 
            echo display_str($Torrent['Title']);
            ?>
" /></td>
			</tr>
			<tr>
				<td class="label">Tags:</td>
				<td><input type="text" id="tags" name="tags" size="60" value="<?php 
            echo display_str($Torrent['TagList']);
            ?>
"<?php 
            Users::has_autocomplete_enabled('other');
            ?>
 /></td>
			</tr>
			<tr>
				<td class="label">Image (optional):</td>
				<td><input type="text" id="image" name="image" size="60" value="<?php 
            echo display_str($Torrent['Image']);
            ?>
"<?php 
            echo $this->Disabled;
            ?>
 /></td>
			</tr>
			<tr>
				<td class="label">Description:</td>
				<td>
<?php 
            new TEXTAREA_PREVIEW('desc', 'desc', display_str($Torrent['GroupDescription']), 60, 8);
            TEXTAREA_PREVIEW::JavaScript(false);
            ?>
				</td>
			</tr>
<?php 
        }
        ?>
		</table>
<?php 
    }
Esempio n. 2
0
</div>
<?php 
TEXTAREA_PREVIEW::JavaScript();
?>
<div id="footer">
<?php 
if (!empty($Options['disclaimer'])) {
    ?>
	<br /><br />
	<div id="disclaimer_container" class="thin" style="text-align: center; margin-bottom: 20px;">
		None of the files shown here are actually hosted on this server. The links are provided solely by this site's users. These BitTorrent files are meant for the distribution of backup files. By downloading the BitTorrent file, you are claiming that you own the original file. The administrator of this site (<?php 
    echo site_url();
    ?>
) holds NO RESPONSIBILITY if these files are misused in any way and cannot be held responsible for what its users post, or any other actions of it.
	</div>
<?php 
}
if (count($UserSessions) > 1) {
    foreach ($UserSessions as $ThisSessionID => $Session) {
        if ($ThisSessionID != $SessionID) {
            $LastActive = $Session;
            break;
        }
    }
}
$Load = sys_getloadavg();
?>
	<p>Site and design &copy; <?php 
echo date('Y');
?>
 <?php