mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 02:21:36 +00:00
Empty commit
This commit is contained in:
parent
97f8327666
commit
c0a32639b1
@ -8,7 +8,7 @@ class SPHINXQL extends mysqli {
|
||||
private $Server;
|
||||
private $Port;
|
||||
private $Socket;
|
||||
public $Ident;
|
||||
private $Ident;
|
||||
private $Connected = false;
|
||||
|
||||
public static $Queries = array();
|
||||
@ -18,9 +18,9 @@ class SPHINXQL extends mysqli {
|
||||
/**
|
||||
* Initialize SphinxQL object
|
||||
*
|
||||
* @string $Server server address or hostname
|
||||
* @int $Port listening port
|
||||
* @string $Socket Unix socket address, overrides $Server:$Port
|
||||
* @param string $Server server address or hostname
|
||||
* @param int $Port listening port
|
||||
* @param string $Socket Unix socket address, overrides $Server:$Port
|
||||
*/
|
||||
public function __construct($Server, $Port, $Socket) {
|
||||
$this->Server = $Server;
|
||||
@ -32,9 +32,9 @@ public function __construct($Server, $Port, $Socket) {
|
||||
/**
|
||||
* Create server ident based on connection information
|
||||
*
|
||||
* @string $Server server address or hostname
|
||||
* @int $Port listening port
|
||||
* @string $Socket Unix socket address, overrides $Server:$Port
|
||||
* @param string $Server server address or hostname
|
||||
* @param int $Port listening port
|
||||
* @param string $Socket Unix socket address, overrides $Server:$Port
|
||||
* @return identification string
|
||||
*/
|
||||
private function get_ident($Server, $Port, $Socket) {
|
||||
@ -48,9 +48,9 @@ private function get_ident($Server, $Port, $Socket) {
|
||||
/**
|
||||
* Create SphinxQL object or return existing one
|
||||
*
|
||||
* @string $Server server address or hostname
|
||||
* @int $Port listening port
|
||||
* @string $Socket Unix socket address, overrides $Server:$Port
|
||||
* @param string $Server server address or hostname
|
||||
* @param int $Port listening port
|
||||
* @param string $Socket Unix socket address, overrides $Server:$Port
|
||||
* @return SphinxQL object
|
||||
*/
|
||||
public static function init_connection($Server, $Port, $Socket) {
|
||||
@ -82,8 +82,8 @@ public function connect() {
|
||||
/**
|
||||
* Print a message to privileged users and optionally halt page processing
|
||||
*
|
||||
* @string $Msg message to display
|
||||
* @bool $Halt halt page processing. Default is to continue processing the page
|
||||
* @param string $Msg message to display
|
||||
* @param bool $Halt halt page processing. Default is to continue processing the page
|
||||
* @return SphinxQL object
|
||||
*/
|
||||
public function error($Msg, $Halt = false) {
|
||||
@ -102,7 +102,7 @@ public function error($Msg, $Halt = false) {
|
||||
* Escape special characters before sending them to the Sphinx server.
|
||||
* Two escapes needed because the first one is eaten up by the mysql driver.
|
||||
*
|
||||
* @string $String string to escape
|
||||
* @param string $String string to escape
|
||||
* @return escaped string
|
||||
*/
|
||||
public function escape_string($String) {
|
||||
@ -125,8 +125,8 @@ public function escape_string($String) {
|
||||
/**
|
||||
* Register sent queries globally for later retrieval by debug functions
|
||||
*
|
||||
* @string $QueryString query text
|
||||
* @param $QueryProcessTime time building and processing the query
|
||||
* @param string $QueryString query text
|
||||
* @param param $QueryProcessTime time building and processing the query
|
||||
*/
|
||||
public function register_query($QueryString, $QueryProcessTime) {
|
||||
SPHINXQL::$Queries[] = array($QueryString, $QueryProcessTime);
|
||||
@ -151,9 +151,9 @@ class SPHINXQL_QUERY {
|
||||
/**
|
||||
* Initialize SphinxQL object
|
||||
*
|
||||
* @string $Server server address or hostname
|
||||
* @int $Port listening port
|
||||
* @string $Socket Unix socket address, overrides $Server:$Port
|
||||
* @param string $Server server address or hostname
|
||||
* @param int $Port listening port
|
||||
* @param string $Socket Unix socket address, overrides $Server:$Port
|
||||
*/
|
||||
public function __construct($Server = SPHINXQL_HOST, $Port = SPHINXQL_PORT, $Socket = SPHINXQL_SOCK) {
|
||||
$this->SphinxQL = SPHINXQL::init_connection($Server, $Port, $Socket);
|
||||
@ -162,7 +162,7 @@ public function __construct($Server = SPHINXQL_HOST, $Port = SPHINXQL_PORT, $Soc
|
||||
/**
|
||||
* Specify what data the Sphinx query is supposed to return
|
||||
*
|
||||
* @string $Fields Attributes and expressions
|
||||
* @param string $Fields Attributes and expressions
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function select($Fields) {
|
||||
@ -174,7 +174,7 @@ public function select($Fields) {
|
||||
/**
|
||||
* Specify the indexes to use in the search
|
||||
*
|
||||
* @string $Indexes comma separated list of indexes
|
||||
* @param string $Indexes comma separated list of indexes
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function from($Indexes) {
|
||||
@ -185,9 +185,9 @@ public function from($Indexes) {
|
||||
/**
|
||||
* Add attribute filter. Calling this function multiple times results in boolean AND between each condition
|
||||
*
|
||||
* @string $Attribute attribute which the filter will apply to
|
||||
* @mixed $Values scalar or array of numerical values. Array uses boolean OR in query condition
|
||||
* @bool $Exclude whether to exclude or include matching documents. Default mode is to include matches
|
||||
* @param string $Attribute attribute which the filter will apply to
|
||||
* @param mixed $Values scalar or array of numerical values. Array uses boolean OR in query condition
|
||||
* @param bool $Exclude whether to exclude or include matching documents. Default mode is to include matches
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function where($Attribute, $Values, $Exclude = false) {
|
||||
@ -223,8 +223,8 @@ public function where($Attribute, $Values, $Exclude = false) {
|
||||
/**
|
||||
* Add attribute range filter. Calling this function multiple times results in boolean AND between each condition
|
||||
*
|
||||
* @string $Attribute attribute which the filter will apply to
|
||||
* @array $Values pair of numerical values that defines the filter range
|
||||
* @param string $Attribute attribute which the filter will apply to
|
||||
* @param array $Values pair of numerical values that defines the filter range
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function where_between($Attribute, $Values) {
|
||||
@ -239,8 +239,8 @@ public function where_between($Attribute, $Values) {
|
||||
* Add fulltext query expression. Calling this function multiple times results in boolean AND between each condition.
|
||||
* Query expression is escaped automatically
|
||||
*
|
||||
* @string $Expr query expression
|
||||
* @string $Field field to match $Expr against. Default is *, which means all available fields
|
||||
* @param string $Expr query expression
|
||||
* @param string $Field field to match $Expr against. Default is *, which means all available fields
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function where_match($Expr, $Field = '*') {
|
||||
@ -254,8 +254,8 @@ public function where_match($Expr, $Field = '*') {
|
||||
/**
|
||||
* Specify the order of the matches. Calling this function multiple times sets secondary priorities
|
||||
*
|
||||
* @string $Attribute attribute to use for sorting
|
||||
* @string $Mode sort method to apply to the selected attribute
|
||||
* @param string $Attribute attribute to use for sorting
|
||||
* @param string $Mode sort method to apply to the selected attribute
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function order_by($Attribute, $Mode) {
|
||||
@ -266,7 +266,7 @@ public function order_by($Attribute, $Mode) {
|
||||
/**
|
||||
* Specify how the results are grouped
|
||||
*
|
||||
* @string $Attribute group matches with the same $Attribute value
|
||||
* @param string $Attribute group matches with the same $Attribute value
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function group_by($Attribute) {
|
||||
@ -277,8 +277,8 @@ public function group_by($Attribute) {
|
||||
/**
|
||||
* Specify the order of the results within groups
|
||||
*
|
||||
* @string $Attribute attribute to use for sorting
|
||||
* @string $Mode sort method to apply to the selected attribute
|
||||
* @param string $Attribute attribute to use for sorting
|
||||
* @param string $Mode sort method to apply to the selected attribute
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function order_group_by($Attribute, $Mode) {
|
||||
@ -289,9 +289,9 @@ public function order_group_by($Attribute, $Mode) {
|
||||
/**
|
||||
* Specify the offset and amount of matches to return
|
||||
*
|
||||
* @int $Offset number of matches to discard
|
||||
* @int $Limit number of matches to return
|
||||
* @int $MaxMatches number of results to store in the Sphinx server's memory
|
||||
* @param int $Offset number of matches to discard
|
||||
* @param int $Limit number of matches to return
|
||||
* @param int $MaxMatches number of results to store in the Sphinx server's memory. Must be >= ($Offset+$Limit)
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function limit($Offset, $Limit, $MaxMatches = SPHINX_MATCHES_START) {
|
||||
@ -316,7 +316,7 @@ private function build_options() {
|
||||
/**
|
||||
* Combine the query conditions into a valid Sphinx query segment
|
||||
*
|
||||
* @return string of conditions
|
||||
* @return SphinxQL query string
|
||||
*/
|
||||
private function build_query() {
|
||||
if(!$this->Indexes) {
|
||||
@ -350,7 +350,7 @@ private function build_query() {
|
||||
/**
|
||||
* Construct and send the query. Register the query in the global SphinxQL object
|
||||
*
|
||||
* @bool GetMeta whether to fetch meta data for the executed query. Default is yes
|
||||
* @param bool GetMeta whether to fetch meta data for the executed query. Default is yes
|
||||
* @return SphinxQL result object
|
||||
*/
|
||||
public function query($GetMeta = true) {
|
||||
@ -366,8 +366,8 @@ public function query($GetMeta = true) {
|
||||
/**
|
||||
* Run a manually constructed query
|
||||
*
|
||||
* @string Query query expression
|
||||
* @bool GetMeta whether to fetch meta data for the executed query. Default is yes
|
||||
* @param string Query query expression
|
||||
* @param bool GetMeta whether to fetch meta data for the executed query. Default is yes
|
||||
* @return SphinxQL result object
|
||||
*/
|
||||
public function raw_query($Query, $GetMeta = true) {
|
||||
@ -378,7 +378,7 @@ public function raw_query($Query, $GetMeta = true) {
|
||||
/**
|
||||
* Run a pre-processed query. Only used internally
|
||||
*
|
||||
* @bool GetMeta whether to fetch meta data for the executed query
|
||||
* @param bool GetMeta whether to fetch meta data for the executed query
|
||||
* @return SphinxQL result object
|
||||
*/
|
||||
private function send_query($GetMeta) {
|
||||
@ -439,10 +439,10 @@ class SPHINXQL_RESULT {
|
||||
/**
|
||||
* Create SphinxQL result object
|
||||
*
|
||||
* @mysqli_result $Result query results
|
||||
* @array $Meta meta data for the query
|
||||
* @int $Errno error code returned by the query upon failure
|
||||
* @string $Error error message returned by the query upon failure
|
||||
* @param mysqli_result $Result query results
|
||||
* @param array $Meta meta data for the query
|
||||
* @param int $Errno error code returned by the query upon failure
|
||||
* @param string $Error error message returned by the query upon failure
|
||||
*/
|
||||
public function __construct($Result, $Meta, $Errno, $Error) {
|
||||
$this->Result = $Result;
|
||||
@ -454,8 +454,8 @@ public function __construct($Result, $Meta, $Errno, $Error) {
|
||||
/**
|
||||
* Redirect to the Mysqli result object if a nonexistent method is called
|
||||
*
|
||||
* @string $Name method name
|
||||
* @array $Arguments arguments used in the function call
|
||||
* @param string $Name method name
|
||||
* @param array $Arguments arguments used in the function call
|
||||
* @return whatever the parent function returns
|
||||
*/
|
||||
public function __call($Name, $Arguments) {
|
||||
@ -465,7 +465,7 @@ public function __call($Name, $Arguments) {
|
||||
/**
|
||||
* Collect and return the specified key of all results as a list
|
||||
*
|
||||
* @string $Key key containing the desired data
|
||||
* @param string $Key key containing the desired data
|
||||
* @return array with the $Key value of all results
|
||||
*/
|
||||
public function collect($Key) {
|
||||
@ -480,8 +480,8 @@ public function collect($Key) {
|
||||
/**
|
||||
* Collect and return all available data for the matches optionally indexed by a specified key
|
||||
*
|
||||
* @string $Key key to use as indexing value
|
||||
* @string $ResultType method to use when fetching data from the mysqli_result object. Default is MYSQLI_ASSOC
|
||||
* @param string $Key key to use as indexing value
|
||||
* @param string $ResultType method to use when fetching data from the mysqli_result object. Default is MYSQLI_ASSOC
|
||||
* @return array with all available data for the matches
|
||||
*/
|
||||
public function to_array($Key, $ResultType = MYSQLI_ASSOC) {
|
||||
@ -500,8 +500,8 @@ public function to_array($Key, $ResultType = MYSQLI_ASSOC) {
|
||||
/**
|
||||
* Collect pairs of keys for all matches
|
||||
*
|
||||
* @string $Key1 key to use as indexing value
|
||||
* @string $Key2 key to use as value
|
||||
* @param string $Key1 key to use as indexing value
|
||||
* @param string $Key2 key to use as value
|
||||
* @return array with $Key1 => $Key2 pairs for matches
|
||||
*/
|
||||
public function to_pair($Key1, $Key2) {
|
||||
@ -516,7 +516,7 @@ public function to_pair($Key1, $Key2) {
|
||||
/**
|
||||
* Return specified portions of the current SphinxQL result object's meta data
|
||||
*
|
||||
* @mixed $Keys scalar or array with keys to return. Default is false, which returns all meta data
|
||||
* @param mixed $Keys scalar or array with keys to return. Default is false, which returns all meta data
|
||||
* @return array with meta data
|
||||
*/
|
||||
public function get_meta($Keys = false) {
|
||||
@ -541,7 +541,7 @@ public function get_meta($Keys = false) {
|
||||
/**
|
||||
* Return specified portions of the current Mysqli result object's information
|
||||
*
|
||||
* @mixed $Keys scalar or array with keys to return. Default is false, which returns all available information
|
||||
* @param mixed $Keys scalar or array with keys to return. Default is false, which returns all available information
|
||||
* @return array with result information
|
||||
*/
|
||||
public function get_result_info($Keys = false) {
|
||||
|
@ -59,7 +59,7 @@ function head() {
|
||||
echo '<p style="color: red;text-align:center;">'.$this->Error.'</p>';
|
||||
}
|
||||
?>
|
||||
<form action="" enctype="multipart/form-data" method="post" id="upload_table" onsubmit="$('#post').raw().disabled = 'disabled'">
|
||||
<form class="create_form" name="torrent" action="" enctype="multipart/form-data" method="post" id="upload_table" onsubmit="$('#post').raw().disabled = 'disabled'">
|
||||
<div>
|
||||
<input type="hidden" name="submit" value="true" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -393,7 +393,7 @@
|
||||
<ul>
|
||||
<li id="searchbar_torrents">
|
||||
<span class="hidden">Torrents: </span>
|
||||
<form action="torrents.php" method="get">
|
||||
<form class="search_form" name="torrents" action="torrents.php" method="get">
|
||||
<? if(isset($LoggedUser['SearchType']) && $LoggedUser['SearchType']) { // Advanced search ?>
|
||||
<input type="hidden" name="action" value="advanced" />
|
||||
<? } ?>
|
||||
@ -412,7 +412,7 @@
|
||||
</li>
|
||||
<li id="searchbar_artists">
|
||||
<span class="hidden">Artist: </span>
|
||||
<form action="artist.php" method="get">
|
||||
<form class="search_form" name="artists" action="artist.php" method="get">
|
||||
<script type="text/javascript" src="static/functions/autocomplete.js?v=<?=filemtime(SERVER_ROOT.'/static/functions/autocomplete.js')?>"></script>
|
||||
<input id="artistsearch"
|
||||
onkeyup="autocomp.keyup(event);"
|
||||
@ -427,7 +427,7 @@
|
||||
</li>
|
||||
<li id="searchbar_requests">
|
||||
<span class="hidden">Requests: </span>
|
||||
<form action="requests.php" method="get">
|
||||
<form class="search_form" name="requests" action="requests.php" method="get">
|
||||
<input
|
||||
spellcheck="false"
|
||||
onfocus="if (this.value == 'Requests') this.value='';"
|
||||
@ -438,7 +438,7 @@
|
||||
</li>
|
||||
<li id="searchbar_forums">
|
||||
<span class="hidden">Forums: </span>
|
||||
<form action="forums.php" method="get">
|
||||
<form class="search_form" name="forums" action="forums.php" method="get">
|
||||
<input value="search" type="hidden" name="action" />
|
||||
<input
|
||||
onfocus="if (this.value == 'Forums') this.value='';"
|
||||
@ -450,7 +450,7 @@
|
||||
<!--
|
||||
<li id="searchbar_wiki">
|
||||
<span class="hidden">Wiki: </span>
|
||||
<form action="wiki.php" method="get">
|
||||
<form class="search_form" name="wiki" action="wiki.php" method="get">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
<input
|
||||
onfocus="if (this.value == 'Wiki') this.value='';"
|
||||
@ -462,7 +462,7 @@
|
||||
-->
|
||||
<li id="searchbar_log">
|
||||
<span class="hidden">Log: </span>
|
||||
<form action="log.php" method="get">
|
||||
<form class="search_form" name="log" action="log.php" method="get">
|
||||
<input
|
||||
onfocus="if (this.value == 'Log') this.value='';"
|
||||
onblur="if (this.value == '') this.value='Log';"
|
||||
@ -472,7 +472,7 @@
|
||||
</li>
|
||||
<li id="searchbar_users">
|
||||
<span class="hidden">Users: </span>
|
||||
<form action="user.php" method="get">
|
||||
<form class="search_form" name="users" action="user.php" method="get">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
<input
|
||||
onfocus="if (this.value == 'Users') this.value='';"
|
||||
|
@ -531,7 +531,7 @@ function compare($X, $Y){
|
||||
<div class="head"><strong>Search File Lists</strong></div>
|
||||
<ul class="nobullet">
|
||||
<li>
|
||||
<form name="filelistsearchform" action="torrents.php">
|
||||
<form cass="search_form" name="filelists" action="torrents.php">
|
||||
<input type="hidden" name="artistname" value="<?=$Name?>" />
|
||||
<input type="hidden" name="action" value="advanced" />
|
||||
<input type="text" autocomplete="off" id="filelist" name="filelist" size="20" />
|
||||
@ -554,7 +554,7 @@ function compare($X, $Y){
|
||||
<div class="box">
|
||||
<div class="head colhead_dark"><strong>Collector</strong></div>
|
||||
<div class="pad">
|
||||
<form action="artist.php" method="post">
|
||||
<form class="download_form" name="zip" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="download" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
@ -683,11 +683,11 @@ function compare($X, $Y){
|
||||
<? } ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box box_addartists">
|
||||
<div class="box box_addartists box_addartists_similar">
|
||||
<div class="head"><strong>Add similar artist</strong></div>
|
||||
<ul class="nobullet">
|
||||
<li>
|
||||
<form action="artist.php" method="post">
|
||||
<form class="add_form" name="similar_artists" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="add_similar" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
|
@ -545,7 +545,7 @@ function display_name($ReleaseType) {
|
||||
<div class="head"><strong>Add similar artist</strong></div>
|
||||
<ul class="nobullet">
|
||||
<li>
|
||||
<form action="artist.php" method="post">
|
||||
<form class="add_form" name="similar_artists" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="add_similar" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
|
@ -125,7 +125,7 @@
|
||||
<div class="header">
|
||||
<h2>Confirm merge</h2>
|
||||
</div>
|
||||
<form action="artist.php" method="post">
|
||||
<form class="merge_form" name="artist" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="change_artistid" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
|
@ -37,7 +37,7 @@
|
||||
<h2>Edit <a href="artist.php?id=<?=$ArtistID?>"><?=$Name?></a></h2>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form action="artist.php" method="post">
|
||||
<form class="edit_form" name="artist" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
@ -58,7 +58,7 @@
|
||||
<? if(check_perms('torrents_edit')) { ?>
|
||||
<h2>Rename</h2>
|
||||
<div class="box pad">
|
||||
<form action="artist.php" method="post">
|
||||
<form class="rename_form" name="artist" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="rename" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
<h2>Make into non-redirecting alias</h2>
|
||||
<div class="box pad">
|
||||
<form action="artist.php" method="post">
|
||||
<form class="merge_form" name="artist" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="change_artistid" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
@ -87,7 +87,6 @@
|
||||
<br /><br />
|
||||
<input type="submit" value="Change ArtistID" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -109,8 +108,7 @@
|
||||
<? }
|
||||
?>
|
||||
</ul>
|
||||
<form action="artist.php" method="post">
|
||||
<div>
|
||||
<form class="add_form" name="aliases" action="artist.php" method="post">
|
||||
<input type="hidden" name="action" value="add_alias" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="artistid" value="<?=$ArtistID?>" />
|
||||
@ -120,12 +118,8 @@
|
||||
<input type="text" name="redirect" size="40" value="<?=$DefaultRedirectID?>" /><br />
|
||||
<em>This redirects artist names as they are written, eg. new torrents and added artists. All uses of this new alias will be redirected to the alias ID you enter here. Use for common misspellings, etc.</em><br />
|
||||
<input type="submit" value="Add alias" />
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<? } ?>
|
||||
</div>
|
||||
<? show_footer() ?>
|
@ -68,8 +68,7 @@
|
||||
?>
|
||||
<br />
|
||||
<div class="thin">
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="transcodes" action="" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
|
||||
<tr>
|
||||
<td class="label"><strong>Search:</strong></td>
|
||||
@ -83,7 +82,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<table width="100%" class="torrent_table">
|
||||
<tr class="colhead">
|
||||
<td>Torrent</td>
|
||||
|
@ -87,7 +87,7 @@
|
||||
<div class="head">
|
||||
<?=((empty($_GET['action'])) ? 'Create a blog post' : 'Edit blog post')?>
|
||||
</div>
|
||||
<form action="blog.php" method="post">
|
||||
<form class="<?=empty($_GET['action'])?'create_form':'edit_form'?>" name="blog_post" action="blog.php" method="post">
|
||||
<div class="pad">
|
||||
<input type="hidden" name="action" value="<?=((empty($_GET['action'])) ? 'takenewblog' : 'takeeditblog')?>" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?
|
||||
include(SERVER_ROOT.'/classes/class_image_tools.php');
|
||||
ini_set('max_execution_time',600);
|
||||
set_time_limit(0);
|
||||
|
||||
//~~~~~~~~~~~ Main bookmarks page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
@ -73,7 +73,7 @@
|
||||
<strong>Read the topic before asking questions.</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<form method="post" action="chat.php" class="center">
|
||||
<form class="confirm_form center" name="chat" method="post" action="chat.php">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="submit" name="accept" value="I agree to these rules" />
|
||||
</form>
|
||||
|
@ -110,7 +110,7 @@
|
||||
<br />
|
||||
<h3>Post reply</h3>
|
||||
<div class="box pad" style="padding:20px 10px 10px 10px;">
|
||||
<form id="quickpostform" action="" method="post" style="display: block; text-align: center;">
|
||||
<form class="send_form center" name="comment" id="quickpostform" action="" method="post">
|
||||
<input type="hidden" name="action" value="add_comment" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
|
@ -150,7 +150,7 @@
|
||||
</div>
|
||||
<? if (!$BookmarkView) { ?>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="collages" action="" method="get">
|
||||
<div><input type="hidden" name="action" value="search" /></div>
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
|
@ -416,7 +416,7 @@ function compare($X, $Y){
|
||||
<div class="box box_zipdownload">
|
||||
<div class="head colhead_dark"><strong>Collector</strong></div>
|
||||
<div class="pad">
|
||||
<form action="collages.php" method="post">
|
||||
<form class="download_form" name="zip" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="download" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
@ -531,9 +531,9 @@ function compare($X, $Y){
|
||||
</div>
|
||||
<? if(check_perms('site_collages_manage') && !$Locked) { ?>
|
||||
<div class="box box_addtorrent">
|
||||
<div class="head"><strong>Add torrent</strong><span style="float: right"><a href="#" onclick="$('#addtorrent').toggle(); $('#batchadd').toggle(); this.innerHTML = (this.innerHTML == '[Batch Add]'?'[Individual Add]':'[Batch Add]'); return false;">[Batch Add]</a></span></div>
|
||||
<div class="pad" id="addtorrent">
|
||||
<form action="collages.php" method="post">
|
||||
<div class="head"><strong>Add torrent</strong><span style="float: right"><a href="#" onclick="$('.add_torrent_container').toggle_class('hidden'); this.innerHTML = (this.innerHTML == '[Batch Add]'?'[Individual Add]':'[Batch Add]'); return false;">[Batch Add]</a></span></div>
|
||||
<div class="pad add_torrent_container">
|
||||
<form class="add_form" name="torrent" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="add_torrent" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
@ -543,8 +543,8 @@ function compare($X, $Y){
|
||||
<i>Enter the URL of a torrent on the site.</i>
|
||||
</form>
|
||||
</div>
|
||||
<div class="pad hidden" id="batchadd">
|
||||
<form action="collages.php" method="post">
|
||||
<div class="pad hidden add_torrent_container">
|
||||
<form class="add_form" name="torrents" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="add_torrent_batch" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
@ -589,7 +589,7 @@ function compare($X, $Y){
|
||||
?>
|
||||
<div class="box box_addcomment">
|
||||
<div class="head"><strong>Add comment</strong></div>
|
||||
<form id="quickpostform" onsubmit="quickpostform.submit_button.disabled=true;" action="collages.php" method="post">
|
||||
<form class="send_form" name="comment" id="quickpostform" onsubmit="quickpostform.submit_button.disabled=true;" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="add_comment" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
|
@ -20,7 +20,7 @@
|
||||
Delete collage
|
||||
</div>
|
||||
<div class="pad">
|
||||
<form action="collages.php" method="post">
|
||||
<form class="delete_form" name="collage" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="take_delete" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
|
@ -14,7 +14,7 @@
|
||||
<div class="header">
|
||||
<h2>Edit collage <a href="collages.php?id=<?=$CollageID?>"><?=$Name?></a></h2>
|
||||
</div>
|
||||
<form action="collages.php" method="post">
|
||||
<form class="edit_form" name="collage" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="edit_handle" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
||||
|
@ -96,7 +96,7 @@
|
||||
$AltCSS = $Number % 2 === 0 ? 'rowa' : 'rowb';
|
||||
?>
|
||||
<tr class="drag <?=$AltCSS?>" id="li_<?=$GroupID?>">
|
||||
<form action="collages.php" method="post">
|
||||
<form class="manage_form" name="collage" action="collages.php" method="post">
|
||||
<td>
|
||||
<input class="sort_numbers" type="text" name="sort" value="<?=$Sort?>" id="sort_<?=$GroupID?>" size="4" />
|
||||
</td>
|
||||
@ -121,7 +121,7 @@
|
||||
<div class="drag_drop_save hidden">
|
||||
<input type="button" name="submit" value="Save All Changes" title="Save your changes." class="save_sortable_collage" />
|
||||
</div>
|
||||
<form action="collages.php" method="post" id="drag_drop_collage_form" class="hidden">
|
||||
<form class="dragdrop_form hidden" name="collage" action="collages.php" method="post" id="drag_drop_collage_form">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="manage_handle" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -21,7 +21,7 @@
|
||||
<div class="save_message error"><?=display_str($Error)?></div>
|
||||
<br />
|
||||
<? } ?>
|
||||
<form action="collages.php" method="post" name="newcollage">
|
||||
<form class="create_form" name="collage" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="new_handle" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table class="layout">
|
||||
|
@ -25,7 +25,7 @@
|
||||
Recover deleted collage
|
||||
</div>
|
||||
<div class="pad">
|
||||
<form action="collages.php" method="post">
|
||||
<form class="undelete_form" name="collage" action="collages.php" method="post">
|
||||
<input type="hidden" name="action" value="recover" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<strong>ID: </strong>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<h3>Test IPN</h3>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form method="post" action="donate.php">
|
||||
<form class="donate_form" name="test_paypal" method="post" action="donate.php">
|
||||
<input type="hidden" name="action" value="ipn">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<?=PAYPAL_SYMBOL?> <input type="text" name="mc_gross" value="<?=number_format(PAYPAL_MINIMUM,2)?>">
|
||||
@ -53,7 +53,7 @@
|
||||
<p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p>
|
||||
<p>We currently only accept one payment method; PayPal. Because of the fees they charge, there is a <strong>minimum donation amount of <?=PAYPAL_SYMBOL?> <?=PAYPAL_MINIMUM?></strong> (Please note, this is only a minimum amount and we greatly appreciate any extra you can afford.).</b></p>
|
||||
<p>You don't have to be a PayPal member to make a donation, you can simply donate with your credit/debit card. If you do not have a credit/debit card, you should be able to donate from your bank account, but you will need to make an account with them to do this.</p>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<form class="donate_form" name="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="rm" value="2">
|
||||
<input type="hidden" name="cmd" value="_donations">
|
||||
<input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<h3>Test IPN</h3>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form method="post" action="donate.php">
|
||||
<form class="donate_form" name="test_paypal" method="post" action="donate.php">
|
||||
<input type="hidden" name="action" value="ipn">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<?=PAYPAL_SYMBOL?> <input type="text" name="mc_gross" value="<?=number_format(PAYPAL_MINIMUM,2)?>">
|
||||
@ -52,7 +52,7 @@
|
||||
<p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p>
|
||||
<p>We currently only accept one payment method; PayPal. Because of the fees they charge, there is a <strong>minimum donation amount of <?=PAYPAL_SYMBOL?> <?=PAYPAL_MINIMUM?></strong> (Please note, this is only a minimum amount and we greatly appreciate any extra you can afford.).</b></p>
|
||||
<p>You don't have to be a PayPal member to make a donation, you can simply donate with your credit/debit card. If you do not have a credit/debit card, you should be able to donate from your bank account, but you will need to make an account with them to do this.</p>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<form class="donate_form" name="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="rm" value="2">
|
||||
<input type="hidden" name="cmd" value="_donations">
|
||||
<input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>">
|
||||
|
@ -48,7 +48,7 @@
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<form action="" method="post">
|
||||
<form class="add_form" name="forum_rules" action="" method="post">
|
||||
<td>
|
||||
<input name="new_thread" type="text" size="8" />
|
||||
</td>
|
||||
@ -60,7 +60,7 @@
|
||||
<tr>
|
||||
<td><?=$ThreadID?></td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<form class="delete_form" name="forum_rules" action="" method="post">
|
||||
<input type="hidden" name="threadid" value="<?=$ThreadID?>" />
|
||||
<input type="submit" name="del" value="Delete link" />
|
||||
</form>
|
||||
|
@ -76,7 +76,7 @@
|
||||
<div id="searchforum" class="hidden center">
|
||||
<div style="display: inline-block;">
|
||||
<h3>Search this forum:</h3>
|
||||
<form action="forums.php" method="get">
|
||||
<form class="search_form" name="forum" action="forums.php" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
<input type="hidden" name="forums[]" value="<?=$ForumID?>" />
|
||||
|
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form action="" id="newthreadform" onsubmit="newthreadform.submit_button.disabled=true;" method="post">
|
||||
<form class="create_form" name="forum_thread" action="" id="newthreadform" onsubmit="newthreadform.submit_button.disabled=true;" method="post">
|
||||
<input type="hidden" name="action" value="new" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="forum" value="<?=$ForumID?>" />
|
||||
|
@ -68,7 +68,7 @@
|
||||
if (!isset($_POST['vote']) || !is_number($_POST['vote'])) {
|
||||
?>
|
||||
<span class="error">Please select an option.</span><br />
|
||||
<form id="polls">
|
||||
<form class="vote_form" name="poll" id="poll">
|
||||
<input type="hidden" name="action" value="poll"/>
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="large" value="<?=display_str($_POST['large'])?>"/>
|
||||
@ -78,7 +78,7 @@
|
||||
<label for="answer_<?=$i?>"><?=display_str($Answers[$i])?></label><br />
|
||||
<? } ?>
|
||||
<br /><input type="radio" name="vote" id="answer_0" value="0" /> <label for="answer_0">Blank - Show the results!</label><br /><br />
|
||||
<input type="button" onclick="ajax.post('index.php','polls',function(response){$('#poll_results').raw().innerHTML = response});" value="Vote">
|
||||
<input type="button" onclick="ajax.post('index.php','poll',function(response){$('#poll_container').raw().innerHTML = response});" value="Vote" />
|
||||
</form>
|
||||
<?
|
||||
} else {
|
||||
|
@ -78,7 +78,7 @@
|
||||
?>
|
||||
<div class="thin">
|
||||
<h2><a href="forums.php">Forums</a> > Search<?=$Title?></h2>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="forums" action="" method="get">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
|
@ -155,7 +155,7 @@
|
||||
<div id="searchthread" class="hidden center">
|
||||
<div style="display: inline-block;">
|
||||
<h3>Search this thread:</h3>
|
||||
<form action="forums.php" method="get">
|
||||
<form class="search_form" name="forum_thread" action="forums.php" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border">
|
||||
<tr>
|
||||
<td><strong>Search for:</strong></td><td><input type="text" id="searchbox" name="search" size="70" /></td>
|
||||
@ -319,8 +319,8 @@
|
||||
} else {
|
||||
//User has not voted
|
||||
?>
|
||||
<div id="poll_results">
|
||||
<form id="polls">
|
||||
<div id="poll_container">
|
||||
<form class="vote_form" name="poll" id="poll">
|
||||
<input type="hidden" name="action" value="poll"/>
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="large" value="1"/>
|
||||
@ -342,13 +342,13 @@
|
||||
<br />
|
||||
<br />
|
||||
<? } ?>
|
||||
<input type="button" style="float: left;" onclick="ajax.post('index.php','polls',function(response){$('#poll_results').raw().innerHTML = response});" value="Vote">
|
||||
<input type="button" style="float: left;" onclick="ajax.post('index.php','poll',function(response){$('#poll_container').raw().innerHTML = response});" value="Vote">
|
||||
</form>
|
||||
</div>
|
||||
<? } ?>
|
||||
<? if(check_perms('forums_polls_moderate') && !$RevealVoters) { ?>
|
||||
<? if (!$Featured || $Featured == '0000-00-00 00:00:00') { ?>
|
||||
<form action="forums.php" method="post">
|
||||
<form class="manage_form" name="poll" action="forums.php" method="post">
|
||||
<input type="hidden" name="action" value="poll_mod"/>
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="topicid" value="<?=$ThreadID?>" />
|
||||
@ -356,7 +356,7 @@
|
||||
<input type="submit" style="float: left;" onclick="return confirm('Are you sure you want to feature this poll?');"; value="Feature">
|
||||
</form>
|
||||
<? } ?>
|
||||
<form action="forums.php" method="post">
|
||||
<form class="manage_form" name="poll" action="forums.php" method="post">
|
||||
<input type="hidden" name="action" value="poll_mod"/>
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="topicid" value="<?=$ThreadID?>" />
|
||||
@ -416,13 +416,13 @@
|
||||
if(check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
|
||||
$AuthorInfo = user_info($AuthorID);
|
||||
if($LoggedUser['Class'] >= $AuthorInfo['Class']) { ?>
|
||||
<form action="" style="display: none;" name="warn<?=$PostID?>" method="post">
|
||||
<form class="manage_form hidden" name="user" id="warn<?=$PostID?>" action="" method="post">
|
||||
<input type="hidden" name="action" value="warn" />
|
||||
<input type="hidden" name="postid" value="<?=$PostID?>" />
|
||||
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
|
||||
<input type="hidden" name="key" value="<?=$Key?>" />
|
||||
</form>
|
||||
- <a href="#" onclick="document.warn<?=$PostID?>.submit(); return false;">[Warn]</a>
|
||||
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">[Warn]</a>
|
||||
<? } ?>
|
||||
<? }
|
||||
?>
|
||||
@ -500,7 +500,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form id="quickpostform" action="" <? if(!check_perms('users_mod')) { ?> onsubmit="quickpostform.submit_button.disabled=true;" <? } ?> method="post" style="display: block; text-align: center;">
|
||||
<form class="send_form center" name="reply" id="quickpostform" action="" <? if(!check_perms('users_mod')) { ?> onsubmit="quickpostform.submit_button.disabled=true;" <? } ?> method="post">
|
||||
<input type="hidden" name="action" value="reply" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="thread" value="<?=$ThreadID?>" />
|
||||
@ -531,7 +531,7 @@
|
||||
?>
|
||||
<br />
|
||||
<h3>Edit thread</h3>
|
||||
<form action="forums.php" method="post">
|
||||
<form class="edit_form" name="forum_thread" action="forums.php" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="mod_thread" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -18,7 +18,7 @@
|
||||
<h2>Warning <a href="user.php?id=<?=$UserID?>"><?=$UserInfo['Username']?></a></h2>
|
||||
</div>
|
||||
<div class="thin box pad">
|
||||
<form action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post">
|
||||
<form class="send_form" name="warning" action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post">
|
||||
<input type="hidden" name="postid" value="<?=$PostID?>"/>
|
||||
<input type="hidden" name="userid" value="<?=$UserID?>"/>
|
||||
<input type="hidden" name="key" value="<?=$Key?>"/>
|
||||
|
@ -66,7 +66,7 @@
|
||||
foreach($Friends as $Friend) {
|
||||
list($FriendID, $Comment, $Username, $Uploaded, $Downloaded, $Class, $Paranoia, $LastAccess, $Avatar) = $Friend;
|
||||
?>
|
||||
<form action="friends.php" method="post">
|
||||
<form class="manage_form" name="friends" action="friends.php" method="post">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table class="friends_table vertical_margin">
|
||||
<tr class="colhead">
|
||||
|
@ -23,7 +23,7 @@
|
||||
<div class="header">
|
||||
<h2>Send a message to <a href="user.php?id=<?=$ToID?>"><?=$Username?></a></h2>
|
||||
</div>
|
||||
<form action="inbox.php" method="post" id="messageform">
|
||||
<form class="send_form" name="message" action="inbox.php" method="post" id="messageform">
|
||||
<div class="box pad">
|
||||
<input type="hidden" name="action" value="takecompose" />
|
||||
<input type="hidden" name="toid" value="<?=$ToID?>" />
|
||||
|
@ -85,7 +85,7 @@
|
||||
if(!empty($ReceiverIDs) && (empty($LoggedUser['DisablePM']) || array_intersect($ReceiverIDs, array_keys($StaffIDs)))) {
|
||||
?>
|
||||
<h3>Reply</h3>
|
||||
<form action="inbox.php" method="post" id="messageform">
|
||||
<form class="send_form" name="reply" action="inbox.php" method="post" id="messageform">
|
||||
<div class="box pad">
|
||||
<input type="hidden" name="action" value="takecompose" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -103,7 +103,7 @@
|
||||
}
|
||||
?>
|
||||
<h3>Manage conversation</h3>
|
||||
<form action="inbox.php" method="post">
|
||||
<form class="manage_form" name="messages" action="inbox.php" method="post">
|
||||
<div class="box pad">
|
||||
<input type="hidden" name="action" value="takeedit" />
|
||||
<input type="hidden" name="convid" value="<?=$ConvID?>" />
|
||||
@ -137,7 +137,7 @@
|
||||
if((check_perms('users_mod') || $FLS != "") && (!$ForwardedID || $ForwardedID == $LoggedUser['ID'])) {
|
||||
?>
|
||||
<h3>Forward conversation</h3>
|
||||
<form action="inbox.php" method="post">
|
||||
<form class="send_form" name="forward" action="inbox.php" method="post">
|
||||
<div class="box pad">
|
||||
<input type="hidden" name="action" value="forward" />
|
||||
<input type="hidden" name="convid" value="<?=$ConvID?>" />
|
||||
|
@ -88,7 +88,7 @@
|
||||
<? if($DB->record_count()==0) { ?>
|
||||
<h2>Your <?= ($Section == 'sentbox') ? 'sentbox' : 'inbox' ?> is currently empty</h2>
|
||||
<? } else { ?>
|
||||
<form action="inbox.php" method="get" id="searchbox">
|
||||
<form class="search_form" name="<?= ($Section == 'sentbox')?'sentbox':'inbox'?>" name="" action="inbox.php" method="get" id="searchbox">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="<?=$Section?>" />
|
||||
<input type="radio" name="searchtype" value="user" checked="checked" /> User
|
||||
@ -108,7 +108,7 @@
|
||||
/>
|
||||
</div>
|
||||
</form>
|
||||
<form action="inbox.php" method="post" id="messageform">
|
||||
<form class="manage_form" name="messages" action="inbox.php" method="post" id="messageform">
|
||||
<input type="hidden" name="action" value="masschange" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="submit" name="read" value="Mark as read" />
|
||||
|
@ -307,8 +307,8 @@
|
||||
</ul>
|
||||
<strong>Votes:</strong> <?=number_format($TotalVotes)?><br />
|
||||
<? } else { ?>
|
||||
<div id="poll_results">
|
||||
<form id="polls" action="">
|
||||
<div id="poll_container">
|
||||
<form class="vote_form" name="poll" id="poll" action="">
|
||||
<input type="hidden" name="action" value="poll"/>
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>"/>
|
||||
<input type="hidden" name="topicid" value="<?=$TopicID?>" />
|
||||
@ -317,7 +317,7 @@
|
||||
<label for="answer_<?=$i?>"><?=display_str($Answers[$i])?></label><br />
|
||||
<? } ?>
|
||||
<br /><input type="radio" name="vote" id="answer_0" value="0" /> <label for="answer_0">Blank - Show the results!</label><br /><br />
|
||||
<input type="button" onclick="ajax.post('index.php','polls',function(response){$('#poll_results').raw().innerHTML = response});" value="Vote" />
|
||||
<input type="button" onclick="ajax.post('index.php','poll',function(response){$('#poll_container').raw().innerHTML = response});" value="Vote" />
|
||||
</form>
|
||||
</div>
|
||||
<? } ?>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<h2>Site log<?=$BetaLog ? ' (beta)' : ''?></h2>
|
||||
</div>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="log" action="" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
<td class="label"><strong>Search for:</strong></td>
|
||||
|
@ -50,7 +50,7 @@ function toggle_visibility(id) {
|
||||
Please use your What.CD? username.
|
||||
</p>
|
||||
<br />
|
||||
<form action="" method="post">
|
||||
<form class="confirm_form" name="chat" action="" method="post">
|
||||
<input type="text" name="username" width="20" />
|
||||
<input type="submit" name="submit" value="Join WebIRC" />
|
||||
</form>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<?
|
||||
if(strtotime($BannedUntil)<time() && !$BanID) {
|
||||
?>
|
||||
<form id="loginform" method="post" action="login.php">
|
||||
<form class="auth_form" name="login" id="loginform" method="post" action="login.php">
|
||||
<?
|
||||
|
||||
if(!empty($BannedUntil) && $BannedUntil != '0000-00-00 00:00:00') {
|
||||
|
@ -2,7 +2,7 @@
|
||||
show_header('Recover Password','validate');
|
||||
echo $Validate->GenerateJS('recoverform');
|
||||
?>
|
||||
<form name="recoverform" id="recoverform" method="post" action="" onsubmit="return formVal();">
|
||||
<form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
|
||||
<div style="width:320px;">
|
||||
<span class="titletext">Reset your password - Step 1</span><br /><br />
|
||||
<?
|
||||
|
@ -4,7 +4,7 @@
|
||||
?>
|
||||
<script src="<?=STATIC_SERVER?>functions/jquery.js" type="text/javascript"></script>
|
||||
<script src="<?=STATIC_SERVER?>functions/password_validate.js" type="text/javascript"></script>
|
||||
<form name="recoverform" id="recoverform" method="post" action="" onsubmit="return formVal();">
|
||||
<form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
|
||||
<input type="hidden" name="key" value="<?=display_str($_REQUEST['key'])?>" />
|
||||
<div style="width:500px;">
|
||||
<span class="titletext">Reset your password - Final Step</span><br /><br />
|
||||
|
@ -2,7 +2,7 @@
|
||||
show_header('Register');
|
||||
?>
|
||||
<div style="width:500px;">
|
||||
<form method="get" action="register.php">
|
||||
<form class="auth_form" name="invite" method="get" action="register.php">
|
||||
Please enter your invite code into the box below.<br /><br />
|
||||
<table class="layout" cellpadding="2" cellspacing="1" border="0" align="center">
|
||||
<tr valign="top">
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?
|
||||
show_header('Register','validate');
|
||||
echo $Val->GenerateJS('regform');
|
||||
echo $Val->GenerateJS('registerform');
|
||||
?>
|
||||
<script src="<?=STATIC_SERVER?>functions/jquery.js" type="text/javascript"></script>
|
||||
<script src="<?=STATIC_SERVER?>functions/password_validate.js" type="text/javascript"></script>
|
||||
<form name="regform" id="regform" method="post" action="" onsubmit="return formVal();">
|
||||
<form class="create_form" name="user" id="registerform" method="post" action="" onsubmit="return formVal();">
|
||||
<div style="width:500px;">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<?
|
||||
|
@ -71,7 +71,7 @@
|
||||
case "thread" :
|
||||
$DB->query("SELECT Title FROM forums_topics WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
$Error = "No thread with the reported ID found";
|
||||
$Error = "No forum thread with the reported ID found";
|
||||
} else {
|
||||
list($Title) = $DB->next_record();
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."forums.php?action=viewthread&threadid=".$ThingID."]".display_str($Title)."[/url]";
|
||||
@ -87,10 +87,10 @@
|
||||
}
|
||||
$DB->query("SELECT p.ID, p.Body, p.TopicID, (SELECT COUNT(ID) FROM forums_posts WHERE forums_posts.TopicID = p.TopicID AND forums_posts.ID<=p.ID) AS PostNum FROM forums_posts AS p WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
$Error = "No post with the reported ID found";
|
||||
$Error = "No forum post with the reported ID found";
|
||||
} else {
|
||||
list($PostID,$Body,$TopicID,$PostNum) = $DB->next_record();
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."forums.php?action=viewthread&threadid=".$TopicID."&post=".$PostNum."#post".$PostID."]POST[/url]";
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."forums.php?action=viewthread&threadid=".$TopicID."&post=".$PostNum."#post".$PostID."]FORUM POST[/url]";
|
||||
$Subject = "Post Report";
|
||||
|
||||
}
|
||||
@ -98,23 +98,23 @@
|
||||
case "requests_comment" :
|
||||
$DB->query("SELECT rc.RequestID, rc.Body, (SELECT COUNT(ID) FROM requests_comments WHERE ID <= ".$ThingID." AND requests_comments.RequestID = rc.RequestID) AS CommentNum FROM requests_comments AS rc WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
$Error = "No comment with the reported ID found";
|
||||
$Error = "No request comment with the reported ID found";
|
||||
} else {
|
||||
list($RequestID, $Body, $PostNum) = $DB->next_record();
|
||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."requests.php?action=view&id=".$RequestID."&page=".$PageNum."#post".$ThingID."]COMMENT[/url]";
|
||||
$Subject = "Requests Comment Report";
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."requests.php?action=view&id=".$RequestID."&page=".$PageNum."#post".$ThingID."]REQUEST COMMENT[/url]";
|
||||
$Subject = "Request Comment Report";
|
||||
|
||||
}
|
||||
break;
|
||||
case "torrents_comment" :
|
||||
$DB->query("SELECT tc.GroupID, tc.Body, (SELECT COUNT(ID) FROM torrents_comments WHERE ID <= ".$ThingID." AND torrents_comments.GroupID = tc.GroupID) AS CommentNum FROM torrents_comments AS tc WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
$Error = "No comment with the reported ID found";
|
||||
$Error = "No torrent comment with the reported ID found";
|
||||
} else {
|
||||
list($GroupID, $Body, $PostNum) = $DB->next_record();
|
||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."torrents.php?id=".$GroupID."&page=".$PageNum."#post".$ThingID."]COMMENT[/url]";
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."torrents.php?id=".$GroupID."&page=".$PageNum."#post".$ThingID."]TORRENT COMMENT[/url]";
|
||||
$Subject = "Torrent Comment Report";
|
||||
|
||||
}
|
||||
@ -122,12 +122,12 @@
|
||||
case "collages_comment" :
|
||||
$DB->query("SELECT cc.CollageID, cc.Body, (SELECT COUNT(ID) FROM collages_comments WHERE ID <= ".$ThingID." AND collages_comments.CollageID = cc.CollageID) AS CommentNum FROM collages_comments AS cc WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
$Error = "No comment with the reported ID found";
|
||||
$Error = "No collage comment with the reported ID found";
|
||||
} else {
|
||||
list($CollageID, $Body, $PostNum) = $DB->next_record();
|
||||
$PerPage = POSTS_PER_PAGE;
|
||||
$PageNum = ceil($PostNum / $PerPage);
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."collage.php?action=comments&collageid=".$CollageID."&page=".$PageNum."#post".$ThingID."]COMMENT[/url]";
|
||||
$TypeLink = "[url=https://".NONSSL_SITE_URL."collage.php?action=comments&collageid=".$CollageID."&page=".$PageNum."#post".$ThingID."]COLLAGE COMMENT[/url]";
|
||||
$Subject = "Collage Comment Report";
|
||||
}
|
||||
break;
|
||||
@ -153,7 +153,7 @@
|
||||
</a>
|
||||
</h2>
|
||||
</div>
|
||||
<form action="reports.php" method="post" id="messageform">
|
||||
<form class="send_form" name="message" action="reports.php" method="post" id="messageform">
|
||||
<div class="box pad">
|
||||
<input type="hidden" name="action" value="takecompose" /> <input
|
||||
type="hidden" name="toid" value="<?=$ToID?>" /> <input type="hidden"
|
||||
|
@ -149,7 +149,7 @@
|
||||
|
||||
<div class="box pad center">
|
||||
<p><strong>It will greatly increase the turnover rate of the updates if you can fill in as much of the following details as possible.</strong></p>
|
||||
<form action="" method="post">
|
||||
<form class="create_form" name="report" action="" method="post">
|
||||
<input type="hidden" name="action" value="takereport" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
@ -273,7 +273,7 @@
|
||||
?>
|
||||
<h3>Reason</h3>
|
||||
<div class="box pad center">
|
||||
<form action="" method="post">
|
||||
<form class="create_form" name="report" action="" method="post">
|
||||
<input type="hidden" name="action" value="takereport" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
@ -289,4 +289,3 @@
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
||||
$Reference = "reports.php?id=".$ReportID."#report".$ReportID;
|
||||
?>
|
||||
<div id="report<?=$ReportID?>">
|
||||
<form action="reports.php" method="post">
|
||||
<form class="manage_form" name="report" action="reports.php" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="reportid" value="<?=$ReportID?>" />
|
||||
<input type="hidden" name="action" value="takeresolve" />
|
||||
@ -140,7 +140,7 @@
|
||||
case "thread" :
|
||||
$DB->query("SELECT Title FROM forums_topics WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
echo "No thread with the reported ID found";
|
||||
echo "No forum thread with the reported ID found";
|
||||
} else {
|
||||
list($Title) = $DB->next_record();
|
||||
echo "<a href='forums.php?action=viewthread&threadid=".$ThingID."'>".display_str($Title)."</a>";
|
||||
@ -154,41 +154,41 @@
|
||||
}
|
||||
$DB->query("SELECT p.ID, p.Body, p.TopicID, (SELECT COUNT(ID) FROM forums_posts WHERE forums_posts.TopicID = p.TopicID AND forums_posts.ID<=p.ID) AS PostNum FROM forums_posts AS p WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
echo "No post with the reported ID found";
|
||||
echo "No forum post with the reported ID found";
|
||||
} else {
|
||||
list($PostID,$Body,$TopicID,$PostNum) = $DB->next_record();
|
||||
echo "<a href='forums.php?action=viewthread&threadid=".$TopicID."&post=".$PostNum."#post".$PostID."'>POST</a>";
|
||||
echo "<a href='forums.php?action=viewthread&threadid=".$TopicID."&post=".$PostNum."#post".$PostID."'>FORUM POST</a>";
|
||||
}
|
||||
break;
|
||||
case "requests_comment" :
|
||||
$DB->query("SELECT rc.RequestID, rc.Body, (SELECT COUNT(ID) FROM requests_comments WHERE ID <= ".$ThingID." AND requests_comments.RequestID = rc.RequestID) AS CommentNum FROM requests_comments AS rc WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
echo "No comment with the reported ID found";
|
||||
echo "No request comment with the reported ID found";
|
||||
} else {
|
||||
list($RequestID, $Body, $PostNum) = $DB->next_record();
|
||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||
echo "<a href='requests.php?action=view&id=".$RequestID."&page=".$PageNum."#post".$ThingID."'>COMMENT</a>";
|
||||
echo "<a href='requests.php?action=view&id=".$RequestID."&page=".$PageNum."#post".$ThingID."'>REQUEST COMMENT</a>";
|
||||
}
|
||||
break;
|
||||
case "torrents_comment" :
|
||||
$DB->query("SELECT tc.GroupID, tc.Body, (SELECT COUNT(ID) FROM torrents_comments WHERE ID <= ".$ThingID." AND torrents_comments.GroupID = tc.GroupID) AS CommentNum FROM torrents_comments AS tc WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
echo "No comment with the reported ID found";
|
||||
echo "No torrent comment with the reported ID found";
|
||||
} else {
|
||||
list($GroupID, $Body, $PostNum) = $DB->next_record();
|
||||
$PageNum = ceil($PostNum / TORRENT_COMMENTS_PER_PAGE);
|
||||
echo "<a href='torrents.php?id=".$GroupID."&page=".$PageNum."#post".$ThingID."'>COMMENT</a>";
|
||||
echo "<a href='torrents.php?id=".$GroupID."&page=".$PageNum."#post".$ThingID."'>TORRENT COMMENT</a>";
|
||||
}
|
||||
break;
|
||||
case "collages_comment" :
|
||||
$DB->query("SELECT cc.CollageID, cc.Body, (SELECT COUNT(ID) FROM collages_comments WHERE ID <= ".$ThingID." AND collages_comments.CollageID = cc.CollageID) AS CommentNum FROM collages_comments AS cc WHERE ID=".$ThingID);
|
||||
if($DB->record_count() < 1) {
|
||||
echo "No comment with the reported ID found";
|
||||
echo "No collage comment with the reported ID found";
|
||||
} else {
|
||||
list($CollageID, $Body, $PostNum) = $DB->next_record();
|
||||
$PerPage = POSTS_PER_PAGE;
|
||||
$PageNum = ceil($PostNum / $PerPage);
|
||||
echo "<a href='collage.php?action=comments&collageid=".$CollageID."&page=".$PageNum."#post".$ThingID."'>COMMENT</a>";
|
||||
echo "<a href='collage.php?action=comments&collageid=".$CollageID."&page=".$PageNum."#post".$ThingID."'>COLLAGE COMMENT</a>";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -62,6 +62,7 @@
|
||||
<? } ?>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?
|
||||
$DB->query("SELECT um.Username, COUNT(r.ID) AS Reports FROM reports AS r JOIN users_main AS um ON um.ID=r.ResolverID WHERE r.ReportedTime > '2009-08-21 22:39:41' AND r.ReportedTime > NOW() - INTERVAL 1 MONTH GROUP BY r.ResolverID ORDER BY Reports DESC");
|
||||
|
@ -132,7 +132,7 @@
|
||||
}
|
||||
?>
|
||||
<div id="report<?=$ReportID?>">
|
||||
<form id="report_form<?=$ReportID?>" action="reports.php" method="post">
|
||||
<form class="edit_form" name="report" id="reportform_<?=$ReportID?>" action="reports.php" method="post">
|
||||
<?
|
||||
/*
|
||||
* Some of these are for takeresolve, some for the javascript.
|
||||
|
@ -28,7 +28,7 @@
|
||||
?>
|
||||
</ul>
|
||||
<br />
|
||||
<table class="layout" cellpadding="3" cellspacing="1" border="0" class="border" width="100%">
|
||||
<table class="layout border" cellpadding="3" cellspacing="1" border="0" width="100%">
|
||||
<?
|
||||
if(array_key_exists('image', $ReportType['report_fields'])) {
|
||||
?>
|
||||
|
@ -23,7 +23,7 @@
|
||||
<h2>Report a torrent</h2>
|
||||
</div>
|
||||
|
||||
<form action="reportsv2.php?action=takereport" enctype="multipart/form-data" method="post" id="report_table">
|
||||
<form class="create_form" name="report" action="reportsv2.php?action=takereport" enctype="multipart/form-data" method="post" id="reportform">
|
||||
<div>
|
||||
<input type="hidden" name="submit" value="true" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -85,4 +85,3 @@
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
|
||||
|
@ -275,7 +275,7 @@
|
||||
}
|
||||
?>
|
||||
<div id="report<?=$ReportID?>">
|
||||
<form id="report_form<?=$ReportID?>" action="reports.php" method="post">
|
||||
<form class="manage_form" name="report" id="reportform_<?=$ReportID?>" action="reports.php" method="post">
|
||||
<?
|
||||
/*
|
||||
* Some of these are for takeresolve, namely the ones that aren't inputs, some for the javascript.
|
||||
|
@ -27,7 +27,7 @@
|
||||
<?=ucwords($Action)?> Request
|
||||
</div>
|
||||
<div class="pad">
|
||||
<form action="requests.php" method="post">
|
||||
<form class="<?=($Action == 'delete')?'delete_form':'edit_form'?>" name="request" action="requests.php" method="post">
|
||||
<input type="hidden" name="action" value="take<?=$Action?>" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="id" value="<?=$_GET['id']?>" />
|
||||
|
@ -396,7 +396,7 @@
|
||||
<tr>
|
||||
<td class="label">Post vote information</td>
|
||||
<td>
|
||||
<form action="requests.php" method="get" id="request_form">
|
||||
<form class="add_form" name="request" action="requests.php" method="get" id="request_form">
|
||||
<input type="hidden" name="action" value="vote" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" id="request_tax" value="<?=$RequestTax?>" />
|
||||
@ -437,7 +437,7 @@
|
||||
<tr>
|
||||
<td class="label" valign="top">Fill request</td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<form class="edit_form" name="request" action="" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="takefill" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -453,7 +453,6 @@
|
||||
<br />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -598,7 +597,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form id="quickpostform" action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post" style="display: block; text-align: center;">
|
||||
<form class="send_form center" name="reply" id="quickpostform" action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post">
|
||||
<div id="quickreplytext">
|
||||
<input type="hidden" name="action" value="reply" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -348,8 +348,7 @@
|
||||
<? } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="requests" action="" method="get">
|
||||
<? if ($BookmarkView) { ?>
|
||||
<input type="hidden" name="action" value="view" />
|
||||
<input type="hidden" name="type" value="requests" />
|
||||
@ -487,14 +486,13 @@
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<? if($NumResults) { ?>
|
||||
<div class="linkbox">
|
||||
<?=$PageLinks?>
|
||||
</div>
|
||||
<? } ?>
|
||||
<table id="request_table" class="request_table" cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
|
||||
<table id="request_table" class="request_table border" cellpadding="6" cellspacing="1" border="0" width="100%">
|
||||
<tr class="colhead_dark">
|
||||
<td style="width: 38%;" class="nobr">
|
||||
<strong>Request Name</strong> / <a href="?order=year&sort=<?=(($CurrentOrder == 'year') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Year</strong></a>
|
||||
@ -612,7 +610,7 @@
|
||||
</td>
|
||||
<td class="nobr">
|
||||
<? if(!$IsFilled && check_perms('site_vote')){ ?>
|
||||
<form id="form_<?=$RequestID?>">
|
||||
<form class="add_form" name="request" id="form_<?=$RequestID?>">
|
||||
<span id="vote_count_<?=$RequestID?>"><?=$VoteCount?></span>
|
||||
<input type="hidden" id="requestid_<?=$RequestID?>" name="requestid" value="<?=$RequestID?>" />
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -258,7 +258,7 @@ show_header($Title, 'requests');
|
||||
</div>
|
||||
</div>
|
||||
<div class="center">
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="requests" action="" method="get">
|
||||
<input type="hidden" name="submit" value="true" />
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
|
@ -45,8 +45,10 @@
|
||||
</div>
|
||||
<!-- Uploading Rules Index Links -->
|
||||
<br />
|
||||
<form class="search_form" name="rules" onsubmit="return false">
|
||||
<input type="text" id="search_string" value="Filter (empty to reset)" />
|
||||
<span id="Index">Example: The search term <strong>FLAC</strong> returns all rules containing <strong>FLAC</strong>. The search term <strong>FLAC+trump</strong> returns all rules containing both <strong>FLAC</strong> and <strong>trump</strong>.</span>
|
||||
</form>
|
||||
<br />
|
||||
<div class="before_rules">
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
|
@ -68,7 +68,7 @@
|
||||
<a href="#" onclick="$('#postform').toggle(); this.innerHTML=(this.innerHTML=='(Hide)'?'(Show)':'(Hide)'); return false;"><?=($_REQUEST['action']!='editblog')?'(Show)':'(Hide)'?></a>
|
||||
</span>
|
||||
</div>
|
||||
<form action="staffblog.php" method="post">
|
||||
<form class="<?=((empty($_GET['action'])) ? 'create_form' : 'edit_form')?>" name="blog_post" action="staffblog.php" method="post">
|
||||
<div id="postform" class="pad<?=($_REQUEST['action']!='editblog')?' hidden':''?>">
|
||||
<input type="hidden" name="action" value="<?=((empty($_GET['action'])) ? 'takenewblog' : 'takeeditblog')?>" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -35,7 +35,7 @@
|
||||
<h3>Create new response:</h3>
|
||||
</div>
|
||||
<div id="response_new" class="box">
|
||||
<form id="response_form_0" action="">
|
||||
<form class="send_form" name="response" id="response_form_0" action="">
|
||||
<div class="head">
|
||||
<strong>Name:</strong>
|
||||
<input onfocus="if (this.value == 'New name') this.value='';"
|
||||
@ -69,7 +69,7 @@
|
||||
<div id="ajax_message_<?=$ID?>" class="hidden center alertbar"></div>
|
||||
<br />
|
||||
<div id="response_<?=$ID?>" class="box">
|
||||
<form id="response_form_<?=$ID?>" action="">
|
||||
<form class="send_form" name="response" id="response_form_<?=$ID?>" action="">
|
||||
<div class="head">
|
||||
<strong>Name:</strong>
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
@ -94,8 +94,4 @@
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
|
||||
show_footer();
|
||||
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -1,7 +1,7 @@
|
||||
<?
|
||||
function print_compose_staff_pm($Hidden = true) { ?>
|
||||
<div id="compose" class="<?=($Hidden ? 'hidden' : '')?>">
|
||||
<form action="staffpm.php" method="post">
|
||||
<form class="send_form" name="staff_message" action="staffpm.php" method="post">
|
||||
<input type="hidden" name="action" value="takepost" />
|
||||
<h3><label for="subject">Subject</label></h3>
|
||||
<input size="95" type="text" name="subject" id="subject" />
|
||||
|
@ -109,7 +109,7 @@
|
||||
if ($ViewString != 'Resolved' && $IsStaff) {
|
||||
// Open multiresolve form
|
||||
?>
|
||||
<form method="post" action="staffpm.php" id="messageform">
|
||||
<form class="manage_form" name="staff_messages" method="post" action="staffpm.php" id="messageform">
|
||||
<input type="hidden" name="action" value="multiresolve" />
|
||||
<input type="hidden" name="view" value="<?=strtolower($View)?>" />
|
||||
<?
|
||||
@ -184,12 +184,10 @@
|
||||
</table>
|
||||
<? if ($ViewString != 'Resolved' && $IsStaff) { ?>
|
||||
<input type="submit" value="Resolve selected" />
|
||||
<? } ?>
|
||||
</form>
|
||||
<?
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
<div class="linkbox">
|
||||
|
@ -44,7 +44,7 @@
|
||||
} else {
|
||||
// Messages, draw table
|
||||
?>
|
||||
<form method="post" action="staffpm.php" id="messageform">
|
||||
<form class="manage_form" name="staff_messages" method="post" action="staffpm.php" id="messageform">
|
||||
<input type="hidden" name="action" value="multiresolve" />
|
||||
<h3>Open messages</h3>
|
||||
<table class="message_table checkboxes">
|
||||
@ -113,8 +113,4 @@
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
|
||||
show_footer();
|
||||
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -134,7 +134,7 @@
|
||||
<div class="box pad">
|
||||
<div id="preview" class="hidden"></div>
|
||||
<div id="buttons" class="center">
|
||||
<form action="staffpm.php" method="post" id="messageform">
|
||||
<form class="manage_form" name="staff_messages" action="staffpm.php" method="post" id="messageform">
|
||||
<input type="hidden" name="action" value="takepost" />
|
||||
<input type="hidden" name="convid" value="<?=$ConvID?>" id="convid" />
|
||||
<textarea id="quickpost" name="message" cols="90" rows="10"></textarea> <br />
|
||||
|
@ -17,7 +17,7 @@
|
||||
</tr>
|
||||
<tr/>
|
||||
<tr>
|
||||
<form method="post">
|
||||
<form class="manage_form" name="common_snatches" method="post">
|
||||
<input type="hidden" name="compare" value="1" />
|
||||
<td>
|
||||
<input type="text" name="userida"/>
|
||||
|
@ -52,7 +52,7 @@
|
||||
<br / >
|
||||
<? } ?>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="donation_log" action="" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
<td class="label"><strong>Email:</strong></td>
|
||||
|
@ -40,7 +40,7 @@
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="invites" action="" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
<td class="label"><strong>Email:</strong></td>
|
||||
@ -82,7 +82,7 @@
|
||||
<td><?=time_diff($Expires)?></td>
|
||||
<? if(check_perms('users_edit_invites')){ ?>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<form class="delete_form" name="invite" action="" method="post">
|
||||
<input type="hidden" name="action" value="invite_pool" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="invitekey" value="<?=display_str($InviteKey)?>" />
|
||||
|
@ -52,7 +52,7 @@
|
||||
?>
|
||||
<div class="thin">
|
||||
<div>
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="opcode_stats" action="" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="opcode_stats" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -57,7 +57,7 @@
|
||||
<tr>
|
||||
<td>Cache:</td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<form class="delete_form" name="cache" action="" method="post">
|
||||
<input type="hidden" name="action" value="service_stats" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="global_flush" value="1" />
|
||||
|
@ -78,7 +78,7 @@
|
||||
<h2>IP Bans</h2>
|
||||
</div>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="bans" action="" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
<td class="label"><label for="ip">IP:</label></td>
|
||||
@ -109,7 +109,7 @@
|
||||
<td>Submit</td>
|
||||
</tr>
|
||||
<tr class="rowa">
|
||||
<form action="" method="post">
|
||||
<form class="create_form" name="ban" action="" method="post">
|
||||
<input type="hidden" name="action" value="ip_ban" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<td colspan="2">
|
||||
@ -133,7 +133,7 @@
|
||||
$End=long2ip($End);
|
||||
?>
|
||||
<tr class="row<?=$Row?>">
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="ban" action="" method="post">
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<input type="hidden" name="action" value="ip_ban" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<? while(list($ID, $Name, $Comment, $UserID, $DNUTime) = $DB->next_record()){ ?>
|
||||
<tr>
|
||||
<form action="tools.php" method="post">
|
||||
<form class="manage_form" class="dnu" action="tools.php" method="post">
|
||||
<td>
|
||||
<input type="hidden" name="action" value="dnu_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -48,7 +48,7 @@
|
||||
<td colspan="4">Add Do Not Upload</td>
|
||||
</tr>
|
||||
<tr class="rowa">
|
||||
<form action="tools.php" method="post">
|
||||
<form class="add_form" name="dnu" action="tools.php" method="post">
|
||||
<input type="hidden" name="action" value="dnu_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<td>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<td colspan="4">Add To Email or Domain to Blacklist</td>
|
||||
</tr>
|
||||
<tr class="rowa">
|
||||
<form action="tools.php" method="post">
|
||||
<form class="add_form" name="email_blacklist" action="tools.php" method="post">
|
||||
<input type="hidden" name="action" value="eb_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<td>
|
||||
@ -43,7 +43,7 @@
|
||||
<? while(list($ID, $UserID, $Time, $Email, $Comment) = $DB->next_record()) {
|
||||
?>
|
||||
<tr>
|
||||
<form action="tools.php" method="post">
|
||||
<form class="manage_form" name="email_blacklist" action="tools.php" method="post">
|
||||
<td>
|
||||
<input type="hidden" name="action" value="eb_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -69,7 +69,7 @@ function class_list($Selected=0){
|
||||
$Row = ($Row === 'a' ? 'b' : 'a');
|
||||
?>
|
||||
<tr class="row<?=$Row?>">
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="forums" action="" method="post">
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<input type="hidden" name="action" value="forum_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -123,7 +123,7 @@ function class_list($Selected=0){
|
||||
<td colspan="8">Create forum</td>
|
||||
</tr>
|
||||
<tr class="rowa">
|
||||
<form action="" method="post">
|
||||
<form class="create_form" name="forum" action="" method="post">
|
||||
<input type="hidden" name="action" value="forum_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<td>
|
||||
|
@ -52,7 +52,7 @@
|
||||
<?=time_diff($BannedUntil)?>
|
||||
</td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="bans" action="" method="post">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<input type="hidden" name="action" value="login_watch" />
|
||||
@ -61,7 +61,7 @@
|
||||
</td>
|
||||
<? if(check_perms('admin_manage_ipbans')) { ?>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="bans" action="" method="post">
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<input type="hidden" name="action" value="ip_ban" />
|
||||
|
@ -31,7 +31,7 @@
|
||||
<div class="header">
|
||||
<h2><?= ($_GET['action'] == 'news')? 'Create a news post' : 'Edit news post';?></h2>
|
||||
</div>
|
||||
<form action="tools.php" method="post">
|
||||
<form class="<?= ($_GET['action'] == 'news')? 'create_form' : 'edit_form';?>" name="news_post" action="tools.php" method="post">
|
||||
<div class="box pad">
|
||||
<input type="hidden" name="action" value="<?= ($_GET['action'] == 'news')? 'takenewnews' : 'takeeditnews';?>" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
|
@ -38,7 +38,7 @@
|
||||
</div>
|
||||
<div style="text-align: center">
|
||||
<div style="display: inline-block;">
|
||||
<form method="post">
|
||||
<form cass="manage_form" name="tags" method="post">
|
||||
<input type="hidden" name="action" value="official_tags" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="doit" value="1" />
|
||||
@ -101,6 +101,4 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -9,9 +9,9 @@ function display_perm($Key,$Title) {
|
||||
|
||||
show_header('Manage Permissions','validate');
|
||||
|
||||
echo $Val->GenerateJS('permform');
|
||||
echo $Val->GenerateJS('permissionsform');
|
||||
?>
|
||||
<form name="permform" id="permform" method="post" action="" onsubmit="return formVal();">
|
||||
<form class="manage_form" name="permissions" id="permissionsform" method="post" action="" onsubmit="return formVal();">
|
||||
<input type="hidden" name="action" value="permissions" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="id" value="<?=display_str($_REQUEST['id']); ?>" />
|
||||
|
@ -21,7 +21,7 @@
|
||||
<div class="box" id="recommended">
|
||||
<div class="head colhead_dark"><strong>Recommendations</strong></div>
|
||||
<? if(!in_array($LoggedUser['ID'], $DB->collect('UserID'))){ ?>
|
||||
<form action="tools.php" method="post" class="pad">
|
||||
<form class="add_form" name="recommendations" action="tools.php" method="post" class="pad">
|
||||
<input type="hidden" name="action" value="recommend_add" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
|
@ -42,7 +42,7 @@
|
||||
</tr>
|
||||
<tr/>
|
||||
<tr>
|
||||
<form method="post">
|
||||
<form class="add_form" name="aliases" action="" method="post">
|
||||
<input type="hidden" name="newalias" value="1" />
|
||||
<td>
|
||||
<input type="text" name="aliastag"/>
|
||||
@ -60,7 +60,7 @@
|
||||
while (list($ID, $BadTag, $AliasTag) = $DB -> next_record()) {
|
||||
?>
|
||||
<tr>
|
||||
<form method="post">
|
||||
<form class="manage_form" name="aliases" method="post">
|
||||
<input type="hidden" name="changealias" value="1" />
|
||||
<input type="hidden" name="aliasid" value="<?=$ID?>" />
|
||||
<td>
|
||||
@ -77,6 +77,4 @@
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -57,7 +57,7 @@
|
||||
</div>
|
||||
<div class="box pad" style="margin-left: auto; margin-right: auto; text-align:center; max-width: 40%">
|
||||
<?=$message?>
|
||||
<form action="" method="post">
|
||||
<form class="add_form" name="fltokens" action="" method="post">
|
||||
<input type="hidden" name="action" value="tokens" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
Tokens to add: <input type="text" name="numtokens" size="5" style="text-align: right" value="0"><br /><br />
|
||||
@ -68,7 +68,7 @@
|
||||
<br />
|
||||
<div class="box pad" style="margin-left: auto; margin-right: auto; text-align:center; max-width: 40%">
|
||||
<?=$message?>
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="fltokens" action="" method="post">
|
||||
<input type="hidden" name="action" value="tokens" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
Tokens to set: <input type="text" name="numtokens" size="5" style="text-align: right" value="0"><br /><br />
|
||||
|
@ -19,7 +19,7 @@
|
||||
while(list($ID, $Client, $Peer_ID) = $DB->next_record()){
|
||||
$Row = ($Row === 'a' ? 'b' : 'a');
|
||||
?>
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="clients" action="" method="post">
|
||||
<input type="hidden" name="action" value="whitelist_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table>
|
||||
@ -39,7 +39,7 @@
|
||||
</table>
|
||||
</form>
|
||||
<? } ?>
|
||||
<form action="" method="post">
|
||||
<form class="add_form" name="clients" action="" method="post">
|
||||
<input type="hidden" name="action" value="whitelist_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<div class="header">
|
||||
<h2>Clear a cache key</h2>
|
||||
</div>
|
||||
<form method="get" action="" name="clear_cache">
|
||||
<form class="manage_form" name="cache" method="get" action="">
|
||||
<input type="hidden" name="action" value="clear_cache" />
|
||||
<table class="layout" cellpadding="2" cellspacing="1" border="0" align="center">
|
||||
<tr valign="top">
|
||||
@ -44,5 +44,4 @@
|
||||
<? } ?>
|
||||
</table>
|
||||
</form>
|
||||
<?
|
||||
show_footer();
|
||||
<? show_footer(); ?>
|
@ -34,7 +34,7 @@
|
||||
</tr>
|
||||
<tr/>
|
||||
<tr>
|
||||
<form method="post">
|
||||
<form class="add_form" name="countries" method="post">
|
||||
<input type="hidden" name="newcountry" value="1" />
|
||||
<td>
|
||||
<input type="text" name="country"/>
|
||||
@ -49,7 +49,7 @@
|
||||
while (list($ID, $Country) = $DB->next_record()) {
|
||||
?>
|
||||
<tr>
|
||||
<form method="post">
|
||||
<form class="manage_form" name="countries" method="post">
|
||||
<input type="hidden" name="changecountry" value="1" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<td>
|
||||
@ -63,6 +63,4 @@
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -78,7 +78,7 @@
|
||||
<h2>Create a User</h2>
|
||||
</div>
|
||||
|
||||
<form method="post" action="" name="create_user">
|
||||
<form class="create_form" name="user" method="post" action="">
|
||||
<input type="hidden" name="action" value="create_user" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table class="layout" cellpadding="2" cellspacing="1" border="0" align="center">
|
||||
@ -100,10 +100,6 @@
|
||||
</table>
|
||||
</form>
|
||||
<?
|
||||
|
||||
}
|
||||
|
||||
//Show the footer
|
||||
show_footer();
|
||||
|
||||
?>
|
||||
show_footer(); ?>
|
@ -102,7 +102,7 @@
|
||||
<p style="color: red;text-align:center;"><?=$Msg?></p>
|
||||
</div>
|
||||
<? } ?>
|
||||
<form action="" method="post">
|
||||
<form class="manage_form" name="user" action="" method="post">
|
||||
<input type="hidden" id="action" name="action" value="manipulate_tree" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<table class="layout">
|
||||
@ -132,8 +132,4 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?
|
||||
|
||||
show_footer();
|
||||
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="pad box">
|
||||
<form method="get" action="">
|
||||
<form class="search_form" name="top10" method="get" action="">
|
||||
<input type="hidden" name="type" value="history" />
|
||||
<h3>Search for a date! (After 2010-09-05)</h3>
|
||||
<table class="layout">
|
||||
|
@ -53,8 +53,7 @@
|
||||
|
||||
if(check_perms('site_advanced_top10')) {
|
||||
?>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="torrents" action="" method="get">
|
||||
<input type="hidden" name="advanced" value="1" />
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
@ -80,7 +79,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?
|
||||
}
|
||||
|
||||
|
@ -427,7 +427,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
|
||||
|
||||
?>
|
||||
<form name="filter" method="get" action=''>
|
||||
<form class="search_form" name="torrents" method="get" action="">
|
||||
<div class="filter_torrents">
|
||||
<h3>
|
||||
Filter
|
||||
|
@ -32,7 +32,7 @@
|
||||
Delete torrent
|
||||
</div>
|
||||
<div class="pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="delete_form" name="torrent" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="takedelete" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="torrentid" value="<?=$TorrentID?>" />
|
||||
@ -127,7 +127,7 @@
|
||||
}
|
||||
?>
|
||||
<div id="report<?=$ReportID?>">
|
||||
<form id="report_form<?=$ReportID?>" action="reports.php" method="post">
|
||||
<form class="create_form" name="report" id="reportform_<?=$ReportID?>" action="reports.php" method="post">
|
||||
<?
|
||||
/*
|
||||
* Some of these are for takeresolve, some for the javascript.
|
||||
@ -275,5 +275,4 @@
|
||||
</div>
|
||||
<?
|
||||
}
|
||||
show_footer();
|
||||
?>
|
||||
show_footer(); ?>
|
@ -290,7 +290,7 @@ function compare($X, $Y){
|
||||
<div class="box box_addartists">
|
||||
<div class="head"><strong>Add artist</strong><span style="float:right;"><a onclick="AddArtistField(); return false;" href="#">[+]</a></span></div>
|
||||
<div class="body">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="add_form" name="artists" action="torrents.php" method="post">
|
||||
<div id="AddArtists">
|
||||
<input type="hidden" name="action" value="add_alias" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -352,7 +352,7 @@ function compare($X, $Y){
|
||||
<div class="box box_addtag">
|
||||
<div class="head"><strong>Add tag</strong></div>
|
||||
<div class="body">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="add_form" name="tags" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="add_tag" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="groupid" value="<?=$GroupID?>" />
|
||||
@ -628,7 +628,7 @@ function filelist($Str) {
|
||||
<tr class="requestrows <?=(++$i%2?'rowa':'rowb')?>">
|
||||
<td><a href="requests.php?action=view&id=<?=$Request['ID']?>"><?=$FormatString?> / <?=$BitrateString?> / <?=$MediaString?></a></td>
|
||||
<td>
|
||||
<form id="form_<?=$Request['ID']?>">
|
||||
<form class="add_form" name="bounty" id="form_<?=$Request['ID']?>">
|
||||
<span id="vote_count_<?=$Request['ID']?>"><?=count($RequestVotes['Voters'])?></span>
|
||||
<input type="hidden" id="requestid_<?=$Request['ID']?>" name="requestid" value="<?=$Request['ID']?>" />
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -805,14 +805,14 @@ function filelist($Str) {
|
||||
<? if(check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
|
||||
$AuthorInfo = user_info($AuthorID);
|
||||
if($LoggedUser['Class'] >= $AuthorInfo['Class']) { ?>
|
||||
<form action="" style="display: none;" name="warn<?=$PostID?>" method="post">
|
||||
<form class="manage_form hidden" name="user" id="warn<?=$PostID?>" action="" method="post">
|
||||
<input type="hidden" name="action" value="warn" />
|
||||
<input type="hidden" name="groupid" value="<?=$GroupID?>" />
|
||||
<input type="hidden" name="postid" value="<?=$PostID?>" />
|
||||
<input type="hidden" name="userid" value="<?=$AuthorID?>" />
|
||||
<input type="hidden" name="key" value="<?=$Key?>" />
|
||||
</form>
|
||||
- <a href="#" onclick="document.warn<?=$PostID?>.submit(); return false;">[Warn]</a>
|
||||
- <a href="#" onclick="$('#warn<?=$PostID?>').raw().submit(); return false;">[Warn]</a>
|
||||
|
||||
<? }
|
||||
} ?>
|
||||
@ -889,7 +889,7 @@ function filelist($Str) {
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form id="quickpostform" action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post" style="display: block; text-align: center;">
|
||||
<form class="send_form center" name="reply" id="quickpostform" action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post">
|
||||
<div id="quickreplytext">
|
||||
<input type="hidden" name="action" value="reply" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -903,7 +903,4 @@ function filelist($Str) {
|
||||
<? } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
||||
|
@ -101,7 +101,7 @@
|
||||
?>
|
||||
<div class="thin">
|
||||
<h2>Change Group</h2>
|
||||
<form action="torrents.php" method="post">
|
||||
<form cass="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="editgroupid" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="torrentid" value="<?=$TorrentID?>" />
|
||||
@ -121,7 +121,7 @@
|
||||
</table>
|
||||
</form>
|
||||
<h2>Split off into new group</h2>
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="split_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="newgroup" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="torrentid" value="<?=$TorrentID?>" />
|
||||
@ -158,5 +158,4 @@
|
||||
<?
|
||||
} // if check_perms('torrents_edit')
|
||||
|
||||
show_footer();
|
||||
?>
|
||||
show_footer(); ?>
|
||||
|
@ -46,7 +46,7 @@
|
||||
<h2>Edit <a href="torrents.php?id=<?=$GroupID?>"><?=$Name?></a></h2>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="takegroupedit" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -81,7 +81,7 @@
|
||||
if(in_array($LoggedUser['ID'], $DB->collect('UserID')) || check_perms('torrents_edit')) { ?>
|
||||
<h3>Non-wiki group editing</h3>
|
||||
<div class="box pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form cass="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="nonwikiedit" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="groupid" value="<?=$GroupID?>" />
|
||||
@ -134,7 +134,7 @@
|
||||
?>
|
||||
<h3>Rename (won't merge)</h3>
|
||||
<div class="box pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="rename_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="rename" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -149,7 +149,7 @@
|
||||
</div>
|
||||
<h3>Merge with another group</h3>
|
||||
<div class="box pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="merge_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="merge" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -165,6 +165,4 @@
|
||||
</div>
|
||||
<? } ?>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -44,7 +44,7 @@
|
||||
<h2>Change Group Confirm!</h2>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="confirm_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="editgroupid" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="confirm" value="true" />
|
||||
|
@ -43,7 +43,7 @@
|
||||
<div class="header">
|
||||
<h2>Send PM To All Snatchers Of "<?=$Properties['ArtistName']?> - <?=$Properties['Title']?>"</h2>
|
||||
</div>
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="send_form" name="mass_message" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="takemasspm" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="torrentid" value="<?=$TorrentID?>" />
|
||||
@ -69,6 +69,4 @@
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -33,7 +33,7 @@
|
||||
<h2>Merge Confirm!</h2>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form action="torrents.php" method="post">
|
||||
<form class="confirm_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="merge" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="confirm" value="true" />
|
||||
|
@ -83,7 +83,7 @@
|
||||
<a href="torrents.php?action=notify_cleargroup&filterid=<?=$FilterID?>&auth=<?=$LoggedUser['AuthKey']?>">(clear)</a>
|
||||
<a href="javascript:GroupClear($('#notificationform_<?=$FilterID?>').raw())">(clear selected)</a>
|
||||
</h3>
|
||||
<form id="notificationform_<?=$FilterID?>">
|
||||
<form class="manage_form" name="torrents" id="notificationform_<?=$FilterID?>">
|
||||
<table class="torrent_table cats checkboxes border">
|
||||
<tr class="colhead">
|
||||
<td style="text-align: center"><input type="checkbox" name="toggle" onclick="ToggleBoxes(this.form, this.checked)" /></td>
|
||||
@ -181,7 +181,4 @@
|
||||
<div class="linkbox">
|
||||
<?=$Pages?>
|
||||
</div>
|
||||
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
||||
|
@ -275,7 +275,7 @@ function header_link($SortKey,$DefaultWay="DESC") {
|
||||
<h2><a href="user.php?id=<?=$UserID?>"><?=$User['Username']?></a><?='\'s '.$Action.' torrents'?></h2>
|
||||
</div>
|
||||
<div>
|
||||
<form action="" method="get">
|
||||
<form class="search_form" name="torrents" action="" method="get">
|
||||
<table class="layout">
|
||||
<tr>
|
||||
<td class="label"><strong>Search for:</strong></td>
|
||||
@ -482,9 +482,6 @@ function header_link($SortKey,$DefaultWay="DESC") {
|
||||
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<div class="linkbox"><?=$Pages?></div>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<h2>Warning <a href="user.php?id=<?=$UserID?>"><?=$UserInfo['Username']?></a></h2>
|
||||
</div>
|
||||
<div class="thin box pad">
|
||||
<form action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post">
|
||||
<form class="create_form" name="warning" action="" onsubmit="quickpostform.submit_button.disabled=true;" method="post">
|
||||
<input type="hidden" name="groupid" value="<?=$GroupID?>"/>
|
||||
<input type="hidden" name="postid" value="<?=$PostID?>"/>
|
||||
<input type="hidden" name="userid" value="<?=$UserID?>"/>
|
||||
|
@ -428,7 +428,7 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
show_header('User search');
|
||||
?>
|
||||
<div class="thin">
|
||||
<form action="user.php" method="get">
|
||||
<form class="search_form" name="users" action="user.php" method="get">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
<table class="layout">
|
||||
<tr>
|
||||
|
@ -38,7 +38,7 @@
|
||||
<div class="header">
|
||||
<h2><a href="user.php?id=<?=$LoggedUser['ID']?>"><?=$LoggedUser['Username']?></a> > Connectability Checker</h2>
|
||||
</div>
|
||||
<form action="javascript:check_ip();" method="get">
|
||||
<form class="manage_form" name="connections" action="javascript:check_ip();" method="get">
|
||||
<table class="layout">
|
||||
<tr>
|
||||
<td class="label">IP</td>
|
||||
|
@ -68,7 +68,7 @@ function checked($Checked) {
|
||||
<div class="header">
|
||||
<h2><?=format_username($UserID, false, false, false)?> > Settings</h2>
|
||||
</div>
|
||||
<form id="userform" name="userform" action="" method="post" onsubmit="return formVal();" autocomplete="off">
|
||||
<form class="edit_form" name="user" id="userform" action="" method="post" onsubmit="return formVal();" autocomplete="off">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="takeedit" />
|
||||
<input type="hidden" name="userid" value="<?=$UserID?>" />
|
||||
@ -455,6 +455,4 @@ function checked($Checked) {
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
||||
|
@ -125,7 +125,7 @@
|
||||
<p><em>Do not send an invite if you haven't read and understood the information above.</em></p>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<form action="user.php" method="post">
|
||||
<form class="send_form" name="invite" action="user.php" method="post">
|
||||
<input type="hidden" name="action" value="takeinvite" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -212,5 +212,4 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
<? show_footer(); ?>
|
||||
|
@ -160,12 +160,12 @@ function user_dupes_table($UserID) {
|
||||
$Dupes = array();
|
||||
}
|
||||
?>
|
||||
<form method="POST" id="linkedform">
|
||||
<input type="hidden" name="action" value="dupes">
|
||||
<input type="hidden" name="dupeaction" value="update">
|
||||
<input type="hidden" name="userid" value="<?=$UserID?>">
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>">
|
||||
<input type="hidden" id="form_comment_hash" name="form_comment_hash" value="<?=$CommentHash?>">
|
||||
<form class="manage_form" name="user" method="post" id="linkedform">
|
||||
<input type="hidden" name="action" value="dupes" />
|
||||
<input type="hidden" name="dupeaction" value="update" />
|
||||
<input type="hidden" name="userid" value="<?=$UserID?>" />
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" id="form_comment_hash" name="form_comment_hash" value="<?=$CommentHash?>" />
|
||||
<div class="box">
|
||||
<div class="head"><?=max($DupeCount - 1, 0)?> Linked Account<?=(($DupeCount == 2)?'':'s')?> <a href="#" onclick="$('.linkedaccounts').toggle(); return false;">(View)</a></div>
|
||||
<table width="100%" class="layout hidden linkedaccounts">
|
||||
@ -201,12 +201,12 @@ function user_dupes_table($UserID) {
|
||||
<div id="editdupecomments" class="<?=$DupeCount?'hidden':''?>">
|
||||
<textarea name="dupecomments" onkeyup="resize('dupecommentsbox');" id="dupecommentsbox" cols="65" rows="5" style="width:98%;"><?=display_str($Comments)?></textarea>
|
||||
</div>
|
||||
<span style="float:right; font-style: italic;"><a href="#" onclick="$('#dupecomments').toggle(); $('#editdupecomments').toggle(); resize('dupecommentsbox'); return false;">(Edit linked account comments)</a>
|
||||
<span style="float:right; font-style: italic;"><a href="#" onclick="$('#dupecomments').toggle(); $('#editdupecomments').toggle(); resize('dupecommentsbox'); return false;">(Edit linked account comments)</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="pad hidden linkedaccounts">
|
||||
<label for="target">Link this user with: </label><input type="text" name="target" id="target"><input type="submit" value="Link" id="submitlink" />
|
||||
<label for="target">Link this user with: </label><input type="text" name="target" id="target" /><input type="submit" value="Link" id="submitlink" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<a href="#" onclick="$('#filter_<?=$N['ID']?>').toggle(); return false;">(Show)</a>
|
||||
</h3>
|
||||
<? } ?>
|
||||
<form action="user.php" method="post">
|
||||
<form class="<?=($i>$NumFilters)?'create_form':'edit_form'?>" name="notification" action="user.php" method="post">
|
||||
<input type="hidden" name="formid" value="<?=$i?>" />
|
||||
<input type="hidden" name="action" value="notify_handle" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -152,6 +152,4 @@
|
||||
<? }
|
||||
} ?>
|
||||
</div>
|
||||
<?
|
||||
show_footer();
|
||||
?>
|
||||
<? show_footer(); ?>
|
@ -56,8 +56,8 @@ function display_perm($Key,$Title) {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function reset() {
|
||||
for (i = 0; i < $('#permform').raw().elements.length; i++) {
|
||||
element = $('#permform').raw().elements[i];
|
||||
for (i = 0; i < $('#permissionsform').raw().elements.length; i++) {
|
||||
element = $('#permissionsform').raw().elements[i];
|
||||
if (element.id.substr(0,8) == 'default_') {
|
||||
$('#' + element.id.substr(8)).raw().checked = element.checked;
|
||||
}
|
||||
@ -75,7 +75,7 @@ function reset() {
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<form name="permform" id="permform" method="post" action="">
|
||||
<form class="manage_form" name="permissions" id="permissionsform" method="post" action="">
|
||||
<table class="layout permission_head">
|
||||
<tr>
|
||||
<td class="label">Extra personal collages</td>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user