mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
Empty commit
This commit is contained in:
parent
878663ac4e
commit
27d878417a
@ -76,11 +76,7 @@
|
|||||||
$DB->query("INSERT IGNORE INTO users_subscriptions VALUES ('$LoggedUser[ID]', $ThreadID)");
|
$DB->query("INSERT IGNORE INTO users_subscriptions VALUES ('$LoggedUser[ID]', $ThreadID)");
|
||||||
$Cache->delete_value('subscriptions_user_'.$LoggedUser['ID']);
|
$Cache->delete_value('subscriptions_user_'.$LoggedUser['ID']);
|
||||||
}
|
}
|
||||||
$Tweet = trim($_POST['tweet']);
|
|
||||||
if(!empty($Tweet)) {
|
|
||||||
send_irc("PRIVMSG #what.cd-twitter !tweet ".$Tweet);
|
|
||||||
}
|
|
||||||
|
|
||||||
header('Location: blog.php');
|
header('Location: blog.php');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -110,18 +106,6 @@
|
|||||||
<input id="subscribebox" type="checkbox" name="subscribe"<?=!empty($HeavyInfo['AutoSubscribe'])?' checked="checked"':''?> tabindex="2" />
|
<input id="subscribebox" type="checkbox" name="subscribe"<?=!empty($HeavyInfo['AutoSubscribe'])?' checked="checked"':''?> tabindex="2" />
|
||||||
<label for="subscribebox">Subscribe</label>
|
<label for="subscribebox">Subscribe</label>
|
||||||
|
|
||||||
<h3>Tweet</h3>
|
|
||||||
<input type="text" id="tweettext" name="tweet" size="95" onkeyup="charCount()"/><br />
|
|
||||||
<label for="tweettext" id="tweetlabel">0/140</label>
|
|
||||||
<script type="text/javascript">
|
|
||||||
function charCount() {
|
|
||||||
var count = document.getElementById("tweettext").value.length;
|
|
||||||
document.getElementById("tweetlabel").innerHTML = "Characters " + count +"/140";
|
|
||||||
if(count > 140) {
|
|
||||||
document.getElementById("tweetlabel").innerHTML = "<strong style='color:red'>Exceeded Max Length!</strong>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<input type="submit" value="<?=((!isset($_GET['action'])) ? 'Create blog post' : 'Edit blog post') ?>" />
|
<input type="submit" value="<?=((!isset($_GET['action'])) ? 'Create blog post' : 'Edit blog post') ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
$PostNum = 1;
|
$PostNum = 1;
|
||||||
}
|
}
|
||||||
list($Page,$Limit) = page_limit($PerPage, min($ThreadInfo['Posts'],$PostNum));
|
list($Page,$Limit) = page_limit($PerPage, min($ThreadInfo['Posts'],$PostNum));
|
||||||
if(($Page-1)*$PerPage > $ThreadInfo['Posts']) {
|
if(($Page-1)*$PerPage >= $ThreadInfo['Posts']) {
|
||||||
$Page = ceil($ThreadInfo['Posts']/$PerPage);
|
$Page = ceil($ThreadInfo['Posts']/$PerPage);
|
||||||
}
|
}
|
||||||
list($CatalogueID,$CatalogueLimit) = catalogue_limit($Page,$PerPage,THREAD_CATALOGUE);
|
list($CatalogueID,$CatalogueLimit) = catalogue_limit($Page,$PerPage,THREAD_CATALOGUE);
|
||||||
|
@ -15,10 +15,7 @@
|
|||||||
$DB->query("UPDATE news SET Title='".db_string($_POST['title'])."', Body='".db_string($_POST['body'])."' WHERE ID='".db_string($_POST['newsid'])."'");
|
$DB->query("UPDATE news SET Title='".db_string($_POST['title'])."', Body='".db_string($_POST['body'])."' WHERE ID='".db_string($_POST['newsid'])."'");
|
||||||
$Cache->delete_value('news');
|
$Cache->delete_value('news');
|
||||||
$Cache->delete_value('feed_news');
|
$Cache->delete_value('feed_news');
|
||||||
$Tweet = trim($_POST['tweet']);
|
|
||||||
if(!empty($Tweet)) {
|
|
||||||
send_irc("PRIVMSG #what.cd-twitter !tweet ".$Tweet);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
header('Location: index.php');
|
header('Location: index.php');
|
||||||
break;
|
break;
|
||||||
@ -45,19 +42,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<h3>Body</h3>
|
<h3>Body</h3>
|
||||||
<textarea name="body" cols="95" rows="15"><? if(!empty($Body)) { echo display_str($Body); } ?></textarea> <br /><br />
|
<textarea name="body" cols="95" rows="15"><? if(!empty($Body)) { echo display_str($Body); } ?></textarea> <br /><br />
|
||||||
|
|
||||||
<h3>Tweet</h3>
|
|
||||||
<input type="text" id="tweettext" name="tweet" size="95" onkeyup="charCount()"/><br />
|
|
||||||
<label for="tweettext" id="tweetlabel">0/140</label>
|
|
||||||
<script type="text/javascript">
|
|
||||||
function charCount() {
|
|
||||||
var count = document.getElementById("tweettext").value.length;
|
|
||||||
document.getElementById("tweetlabel").innerHTML = "Characters " + count +"/140";
|
|
||||||
if(count > 140) {
|
|
||||||
document.getElementById("tweetlabel").innerHTML = "<strong style='color:red'>Exceeded Max Length!</strong>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<input type="submit" value="<?= ($_GET['action'] == 'news')? 'Create news post' : 'Edit news post';?>" />
|
<input type="submit" value="<?= ($_GET['action'] == 'news')? 'Create news post' : 'Edit news post';?>" />
|
||||||
|
BIN
static/styles/gtfo_spaceship/images/store.png
Normal file
BIN
static/styles/gtfo_spaceship/images/store.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 868 B |
@ -15,14 +15,14 @@
|
|||||||
/* <theme name here> */
|
/* <theme name here> */
|
||||||
/* Last update: <update here> */
|
/* Last update: <update here> */
|
||||||
|
|
||||||
/* TODO:
|
/* TODO:
|
||||||
* torrent table anything but music stylings
|
* torrent table anything but music stylings
|
||||||
* add hover styles to dropdowns (including artist autocomplete)
|
* add hover styles to dropdowns (including artist autocomplete)
|
||||||
* graph poll images (homepage)
|
* graph poll images (homepage)
|
||||||
* torrent table cat images
|
* torrent table cat images
|
||||||
* artist page link box
|
* artist page link box
|
||||||
* wiki!
|
* wiki!
|
||||||
*
|
*
|
||||||
* give some shadow/definition to main nav bar css letterpress?
|
* give some shadow/definition to main nav bar css letterpress?
|
||||||
* input type text
|
* input type text
|
||||||
* torrent table images (snatched, leechers, seeders)
|
* torrent table images (snatched, leechers, seeders)
|
||||||
@ -30,9 +30,9 @@
|
|||||||
* DL / RP buttons images?
|
* DL / RP buttons images?
|
||||||
* torrent table ?order_way= bg images
|
* torrent table ?order_way= bg images
|
||||||
* collage images hover styles
|
* collage images hover styles
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* icons by http://glyphicons.com/ */
|
/* icons by http://glyphicons.com/ */
|
||||||
@ -169,7 +169,7 @@ a img {
|
|||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table td, table th {
|
table td {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -286,10 +286,10 @@ div.linkbox {
|
|||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
tr.colhead, tr.colhead_dark {
|
tr.colhead, tr.colhead_dark {
|
||||||
border: 1px solid #b93dd6;
|
border: 1px solid #b93dd6;
|
||||||
}
|
}
|
||||||
tr.colhead td, tr.colhead th, tr.colhead_dark td {
|
tr.colhead td, tr.colhead_dark td {
|
||||||
background: #8E2FA4;
|
background: #8E2FA4;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -302,10 +302,6 @@ table tr.rowa td {
|
|||||||
background-color: #1a1f25;
|
background-color: #1a1f25;
|
||||||
border-top: 1px solid #5F7187;
|
border-top: 1px solid #5F7187;
|
||||||
}
|
}
|
||||||
.nobr {
|
|
||||||
word-wrap: normal;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
/* header */
|
/* header */
|
||||||
@ -485,19 +481,29 @@ div#header div#alerts .alertbar.blend a {
|
|||||||
ul#userinfo_major {
|
ul#userinfo_major {
|
||||||
}
|
}
|
||||||
/* floating right would be easier but then icons would be reversed and i dont feel like reworking my sprites */
|
/* floating right would be easier but then icons would be reversed and i dont feel like reworking my sprites */
|
||||||
ul#userinfo_major li#nav_donate a {
|
ul#userinfo_major li#nav_store a {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top:0;
|
top:0;
|
||||||
display: block;
|
display: block;
|
||||||
background: transparent url("images/much-luv.png") no-repeat scroll 0 0;
|
background: transparent url("images/store.png") no-repeat scroll 0 0;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
text-indent: -9999px;
|
text-indent: -9999px;
|
||||||
}
|
}
|
||||||
|
ul#userinfo_major li#nav_donate a {
|
||||||
|
position: absolute;
|
||||||
|
right: 30px;
|
||||||
|
top:0;
|
||||||
|
display: block;
|
||||||
|
background: transparent url("images/much-luv.png") no-repeat scroll 0 0;
|
||||||
|
width: 32px;
|
||||||
|
height: 30px;
|
||||||
|
text-indent: -9999px;
|
||||||
|
}
|
||||||
ul#userinfo_major li#nav_invite a {
|
ul#userinfo_major li#nav_invite a {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 33px;
|
right: 68px;
|
||||||
top:0;
|
top:0;
|
||||||
display: block;
|
display: block;
|
||||||
background: transparent url("images/yo-dawg-i-heard-you-like-cds.png") no-repeat scroll 0 0;
|
background: transparent url("images/yo-dawg-i-heard-you-like-cds.png") no-repeat scroll 0 0;
|
||||||
@ -507,7 +513,7 @@ ul#userinfo_major li#nav_invite a {
|
|||||||
}
|
}
|
||||||
ul#userinfo_major li#nav_upload a {
|
ul#userinfo_major li#nav_upload a {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 80px;
|
right: 115px;
|
||||||
top:0;
|
top:0;
|
||||||
display: block;
|
display: block;
|
||||||
background: transparent url("images/icanhaztm.png") no-repeat scroll 0 0;
|
background: transparent url("images/icanhaztm.png") no-repeat scroll 0 0;
|
||||||
@ -771,7 +777,7 @@ body#torrents #torrent_table tr.group td + td + td + td {
|
|||||||
body#torrents #content > div.linkbox:last-child {
|
body#torrents #content > div.linkbox:last-child {
|
||||||
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
padding: 8px 2px;
|
padding: 8px 2px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
@ -875,7 +881,7 @@ body#collage #content div.thin h2 + div table.border {
|
|||||||
-moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
-moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
||||||
-webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
-webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
body#collage #content div.thin h2 + div table.border td {
|
body#collage #content div.thin h2 + div table.border td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -953,7 +959,7 @@ body#requests #content div.thin h2 + .linkbox + div > form {
|
|||||||
-moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
-moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
||||||
-webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
-webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
body#requests #content div.thin h2 + .linkbox + div .label {
|
body#requests #content div.thin h2 + .linkbox + div .label {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@ -1018,7 +1024,7 @@ body#requests .tags a:hover {
|
|||||||
body#requests div.thin > h2 + div.linkbox, body#requests div.thin > div.linkbox:last-child {
|
body#requests div.thin > h2 + div.linkbox, body#requests div.thin > div.linkbox:last-child {
|
||||||
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
padding: 8px 2px;
|
padding: 8px 2px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
@ -1084,7 +1090,7 @@ body#forums .forum_index td + td + td + td, body#forums .forum_index td + td + t
|
|||||||
body#forums .linkbox {
|
body#forums .linkbox {
|
||||||
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
padding: 8px 2px;
|
padding: 8px 2px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
@ -1191,7 +1197,7 @@ body#top10 #content div.thin h2 + .linkbox + div > form {
|
|||||||
-moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
-moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
||||||
-webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
-webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
body#top10 #content div.thin h2 + .linkbox + div .label, body#top10 #content div.thin h2 + .linkbox + div .center {
|
body#top10 #content div.thin h2 + .linkbox + div .label, body#top10 #content div.thin h2 + .linkbox + div .center {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@ -1251,7 +1257,7 @@ body#user table.border tr + tr td:last-child {
|
|||||||
body#user #content div.thin h2 + .linkbox {
|
body#user #content div.thin h2 + .linkbox {
|
||||||
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
-webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3;
|
||||||
background: #222;
|
background: #222;
|
||||||
padding: 8px 2px;
|
padding: 8px 2px;
|
||||||
margin: 20px 0 30px;
|
margin: 20px 0 30px;
|
||||||
}
|
}
|
||||||
@ -1317,7 +1323,7 @@ body#forums .poll li.graph {
|
|||||||
background-image: url("images/poll-wide-bg.png");
|
background-image: url("images/poll-wide-bg.png");
|
||||||
}
|
}
|
||||||
.poll span.left_poll,
|
.poll span.left_poll,
|
||||||
.poll span.center_poll,
|
.poll span.center_poll,
|
||||||
.poll span.right_poll {
|
.poll span.right_poll {
|
||||||
background-color: #01a9d3;
|
background-color: #01a9d3;
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
@ -1402,4 +1408,4 @@ body#forums .poll li.graph {
|
|||||||
}
|
}
|
||||||
.lightbox .colhead span {
|
.lightbox .colhead span {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user