mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
e1f1367e0c
commit
976060a69d
@ -99,7 +99,7 @@
|
||||
</tr>
|
||||
<?
|
||||
|
||||
if (check_perms('forums_polls_create')) {
|
||||
if (check_perms('forums_polls_create')) {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
var AnswerCount = 1;
|
||||
@ -143,19 +143,15 @@ function RemoveAnswerField() {
|
||||
[<a href="#" onclick="RemoveAnswerField();return false;">-</a>]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="center">
|
||||
<input type="button" value="Preview" onclick="Newthread_Preview(1);" id="newthreadpreviewbutton" />
|
||||
<input type="button" value="Editor" onclick="Newthread_Preview(0);" id="newthreadeditbutton" class="hidden" />
|
||||
<input type="submit" id="submit_button" value="Create thread" />
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
</table>
|
||||
<div id="subscribediv" class="hidden">
|
||||
<input id="subscribeboxpreview" type="checkbox" name="subscribe"<?=!empty($HeavyInfo['AutoSubscribe'])?' checked="checked"':''?> />
|
||||
<label for="subscribebox">Subscribe to topic</label>
|
||||
</div>
|
||||
<input type="button" value="Preview" onclick="Newthread_Preview(1);" id="newthreadpreviewbutton" />
|
||||
<input type="button" value="Editor" onclick="Newthread_Preview(0);" id="newthreadeditbutton" class="hidden" />
|
||||
<input type="submit" id="submit_button" value="Create thread" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -392,7 +392,7 @@ function next_hour() {
|
||||
|
||||
$DB->query("UPDATE users_main SET RequiredRatio=$MinRatio WHERE Downloaded >= '$Download' AND Downloaded < '$DownloadBarrier' AND RequiredRatio<$MinRatio");
|
||||
|
||||
$DB->query("UPDATE users_main SET RequiredRatio=$Ratio WHERE Downloaded >= '$Download' AND Downloaded < '$DownloadBarrier' AND can_leech='0' AND Enabled='1'");
|
||||
//$DB->query("UPDATE users_main SET RequiredRatio=$Ratio WHERE Downloaded >= '$Download' AND Downloaded < '$DownloadBarrier' AND can_leech='0' AND Enabled='1'");
|
||||
|
||||
$DownloadBarrier = $Download;
|
||||
}
|
||||
@ -521,6 +521,9 @@ function next_hour() {
|
||||
|
||||
' , i.AdminComment)
|
||||
WHERE m.ID IN(".implode(',',$UserIDs).")");
|
||||
|
||||
|
||||
$DB->query("DELETE FROM users_torrent_history WHERE UserID IN (".implode(',',$UserIDs).")");
|
||||
}
|
||||
|
||||
foreach($UserIDs as $UserID) {
|
||||
|
Loading…
Reference in New Issue
Block a user