This repository has been archived by the owner on Apr 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factoring out header and footer include files. (should have been done…
… a long time ago) And laying groundwork for Ticketing system
- Loading branch information
Tyler Hall
committed
Jun 21, 2010
1 parent
f1d8d8c
commit fcfb338
Showing
22 changed files
with
263 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div id="ft"></div> | ||
</div> | ||
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> | ||
<script type="text/javascript" src="js/jquery.fancybox-1.2.1.pack.js"></script> | ||
<script type="text/javascript" charset="utf-8"> | ||
$(".fb").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false }); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
<?PHP | ||
if(rand(1,30) == 1) | ||
include 'tweet-cron.php'; | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | ||
"http://www.w3.org/TR/html4/strict.dtd"> | ||
<html> | ||
<head> | ||
<title>Shine</title> | ||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" > | ||
<link rel="stylesheet" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css"> | ||
<link rel="stylesheet" href="css/yuiapp.css" type="text/css"> | ||
<link rel="stylesheet" href="js/jquery.fancybox.css" type="text/css" media="screen"> | ||
</head> | ||
<body class="rounded"> | ||
<div id="doc3" class="yui-t6"> | ||
|
||
$db = Database::getDatabase(); | ||
$feedback_count = $db->getValue("SELECT COUNT(*) FROM shine_feedback WHERE new = 1"); | ||
$tweet_count = $db->getValue("SELECT COUNT(*) FROM shine_tweets WHERE new = 1"); | ||
?> | ||
<div id="navigation"> | ||
<ul id="primary-navigation"> | ||
<li<?PHP if($nav == 'applications') : ?> class="active"<?PHP endif; ?>><a href="index.php">Applications</a></li> | ||
<li<?PHP if($nav == 'orders') : ?> class="active"<?PHP endif; ?>><a href="orders.php">Orders</a></li> | ||
<li<?PHP if($nav == 'feedback') : ?> class="active"<?PHP endif; ?>><a href="feedback.php">Feedback (<?PHP echo $feedback_count; ?>)</a></li> | ||
<li<?PHP if($nav == 'tweets') : ?> class="active"<?PHP endif; ?>><a href="tweets.php">Tweets (<?PHP echo $tweet_count; ?>)</a></li> | ||
<li<?PHP if($nav == 'stats') : ?> class="active"<?PHP endif; ?>><a href="stats.php">Sparkle Stats</a></li> | ||
</ul> | ||
<div id="hd"> | ||
<?PHP include('inc/nav.inc.php'); ?> | ||
</div> | ||
|
||
<ul id="user-navigation"> | ||
<li><a href="users.php">Users</a></li> | ||
<li><a href="settings.php">Settings</a></li> | ||
<li><a href="logout.php">Logout</a></li> | ||
</ul> | ||
<div class="clear"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?PHP | ||
if(rand(1,30) == 1) | ||
include 'tweet-cron.php'; | ||
|
||
$db = Database::getDatabase(); | ||
$feedback_count = $db->getValue("SELECT COUNT(*) FROM shine_feedback WHERE new = 1"); | ||
$tweet_count = $db->getValue("SELECT COUNT(*) FROM shine_tweets WHERE new = 1"); | ||
?> | ||
<div id="navigation"> | ||
<ul id="primary-navigation"> | ||
<li<?PHP if($nav == 'applications') : ?> class="active"<?PHP endif; ?>><a href="index.php">Applications</a></li> | ||
<li<?PHP if($nav == 'orders') : ?> class="active"<?PHP endif; ?>><a href="orders.php">Orders</a></li> | ||
<li<?PHP if($nav == 'feedback') : ?> class="active"<?PHP endif; ?>><a href="feedback.php">Feedback (<?PHP echo $feedback_count; ?>)</a></li> | ||
<li<?PHP if($nav == 'tweets') : ?> class="active"<?PHP endif; ?>><a href="tweets.php">Tweets (<?PHP echo $tweet_count; ?>)</a></li> | ||
<li<?PHP if($nav == 'stats') : ?> class="active"<?PHP endif; ?>><a href="stats.php">Sparkle Stats</a></li> | ||
<li<?PHP if($nav == 'tickets') : ?> class="active"<?PHP endif; ?>><a href="tickets.php">Tickets</a></li> | ||
</ul> | ||
|
||
<ul id="user-navigation"> | ||
<li><a href="users.php">Users</a></li> | ||
<li><a href="settings.php">Settings</a></li> | ||
<li><a href="logout.php">Logout</a></li> | ||
</ul> | ||
<div class="clear"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.