cleaned up formatting and added custom.css

This commit is contained in:
Botanic 2013-06-16 22:57:09 -07:00
parent 1d155268d2
commit 473703c19f
11 changed files with 116 additions and 99 deletions

View file

@ -1,7 +1,7 @@
<?php <?php
class Helpers{ class Helpers{
static public function loadTemplate( $template, $vars = array (), $forcelibrender = false ) static public function loadTemplate( $template, $vars = array (), $forcelibrender = false )
{ {
global $AMS_LIB; global $AMS_LIB;
global $SITEBASE; global $SITEBASE;
@ -44,35 +44,35 @@ class Helpers{
foreach ( $variables[$template] as $key => $value ){ foreach ( $variables[$template] as $key => $value ){
$smarty -> assign( $key, $value ); $smarty -> assign( $key, $value );
} }
if($vars['permission'] == 1){ if( $vars['permission'] == 1 ){
$inherited = "layout_admin.tpl"; $inherited = "layout_admin.tpl";
}else{ }else{
$inherited = "layout_user.tpl"; $inherited = "layout_user.tpl";
} }
//extends:' . $inherited .'|register.tpl // extends:' . $inherited .'|register.tpl
$smarty -> display( $template.'.tpl' ); $smarty -> display( $template . '.tpl' );
} }
static public function create_folders(){ static public function create_folders(){
global $AMS_LIB; global $AMS_LIB;
global $SITEBASE; global $SITEBASE;
$arr = array( $AMS_LIB . '/ingame_templates/', $arr = array( $AMS_LIB . '/ingame_templates/',
$AMS_LIB . '/configs', $AMS_LIB . '/configs',
$AMS_LIB . '/cache', $AMS_LIB . '/cache',
$SITEBASE . '/cache/', $SITEBASE . '/cache/',
$SITEBASE . '/templates/', $SITEBASE . '/templates/',
$SITEBASE . '/templates_c/', $SITEBASE . '/templates_c/',
$SITEBASE . '/configs' $SITEBASE . '/configs'
); );
foreach ( $arr as & $value ){ foreach ( $arr as & $value ){
if ( !file_exists( $value ) ){ if ( !file_exists( $value ) ){
mkdir( $value ); mkdir( $value );
} }
} }
} }
static public function check_if_game_client() static public function check_if_game_client()
{ {
// if HTTP_USER_AGENT is not set then its ryzom core // if HTTP_USER_AGENT is not set then its ryzom core
if ( !isset( $_SERVER['HTTP_USER_AGENT'] ) ){ if ( !isset( $_SERVER['HTTP_USER_AGENT'] ) ){

View file

@ -1,11 +1,10 @@
<?php <?php
class Sql{ class Sql{
public function db_query( $query, $values = array() ) public function db_query( $query, $values = array() )
{ {
echo "tst"; echo "tst";
} }
} }

View file

@ -1,6 +1,6 @@
<?php <?php
class Users{ class Users{
public function add_user(){ public function add_user(){
// check if values exist // check if values exist
if ( isset( $_POST["Username"] ) and isset( $_POST["Password"] ) and isset( $_POST["Email"] ) ) if ( isset( $_POST["Username"] ) and isset( $_POST["Password"] ) and isset( $_POST["Email"] ) )
@ -18,7 +18,7 @@ class Users{
} }
// if all are good then create user // if all are good then create user
if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success" ) and ( $email == "success" ) and ( isset( $_POST["TaC"] ) ) ){ if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success" ) and ( $email == "success" ) and ( isset( $_POST["TaC"] ) ) ){
$edit = array( $edit = array(
'name' => $_POST["Username"], 'name' => $_POST["Username"],
'pass' => $_POST["Password"], 'pass' => $_POST["Password"],
'mail' => $_POST["Email"], 'mail' => $_POST["Email"],
@ -31,7 +31,7 @@ class Users{
header( 'Location: email_sent.php' ); header( 'Location: email_sent.php' );
exit; exit;
}else{ }else{
$pageElements = array( $pageElements = array(
'GAME_NAME' => variable_get( 'ryzommanage_game-name', '' ), 'GAME_NAME' => variable_get( 'ryzommanage_game-name', '' ),
'WELCOME_MESSAGE' => variable_get( 'ryzommanage_register-welcome', '' ), 'WELCOME_MESSAGE' => variable_get( 'ryzommanage_register-welcome', '' ),
'USERNAME' => $user, 'USERNAME' => $user,
@ -44,7 +44,7 @@ class Users{
}else{ }else{
$pageElements['USERNAME_ERROR'] = 'FALSE'; $pageElements['USERNAME_ERROR'] = 'FALSE';
} }
if ( $pass != "success" ){ if ( $pass != "success" ){
$pageElements['PASSWORD_ERROR'] = 'TRUE'; $pageElements['PASSWORD_ERROR'] = 'TRUE';
}else{ }else{
@ -68,10 +68,10 @@ class Users{
return $pageElements; return $pageElements;
} }
} }
/** /**
* Function checkUser * Function checkUser
* *
* @takes $username * @takes $username
* @return string Info: Returns a string based on if the username is valid, if valid then "success" is returned * @return string Info: Returns a string based on if the username is valid, if valid then "success" is returned
*/ */
@ -84,7 +84,7 @@ class Users{
return "Username must be 5 or more characters."; return "Username must be 5 or more characters.";
}elseif ( !preg_match( '/^[a-z0-9\.]*$/', $username ) ){ }elseif ( !preg_match( '/^[a-z0-9\.]*$/', $username ) ){
return "Username can only contain numbers and letters."; return "Username can only contain numbers and letters.";
}elseif ( sql :: db_query( "SELECT COUNT(*) FROM {users} WHERE name = :name", array( }elseif ( sql :: db_query( "SELECT COUNT(*) FROM {users} WHERE name = :name", array(
':name' => $username ':name' => $username
) ) -> fetchField() ){ ) ) -> fetchField() ){
return "Username " . $username . " is in use."; return "Username " . $username . " is in use.";
@ -98,7 +98,7 @@ class Users{
} }
/** /**
* Function checkPassword * Function checkPassword
* *
* @takes $pass * @takes $pass
* @return string Info: Returns a string based on if the password is valid, if valid then "success" is returned * @return string Info: Returns a string based on if the password is valid, if valid then "success" is returned
*/ */
@ -117,7 +117,7 @@ class Users{
} }
/** /**
* Function confirmPassword * Function confirmPassword
* *
* @takes $pass * @takes $pass
* @return string Info: Verify's $_POST["Password"] is the same as $_POST["ConfirmPass"] * @return string Info: Verify's $_POST["Password"] is the same as $_POST["ConfirmPass"]
*/ */
@ -132,16 +132,16 @@ class Users{
} }
/** /**
* Function checkEmail * Function checkEmail
* *
* @takes $email * @takes $email
* @return * @return
*/ */
public function checkEmail( $email ) public function checkEmail( $email )
{ {
if ( isset( $email ) ){ if ( isset( $email ) ){
if ( !validEmail( $email ) ){ if ( !validEmail( $email ) ){
return "Email address is not valid."; return "Email address is not valid.";
}elseif ( db_query( "SELECT COUNT(*) FROM {users} WHERE mail = :mail", array( }elseif ( db_query( "SELECT COUNT(*) FROM {users} WHERE mail = :mail", array(
':mail' => $email ':mail' => $email
) ) -> fetchField() ){ ) ) -> fetchField() ){
return "Email is in use."; return "Email is in use.";
@ -230,4 +230,3 @@ class Users{
} }
} }

View file

@ -3,6 +3,6 @@
// Base include file for library functions for AMS // Base include file for library functions for AMS
// *********************************************** // ***********************************************
function __autoload( $className ){ function __autoload( $className ){
require_once 'autoload/' . strtolower ($className) . '.php'; require_once 'autoload/' . strtolower ( $className ) . '.php';
} }

View file

@ -16,7 +16,7 @@ if ( isset( $_POST["Username"] ) and isset( $_POST["Password"] ) and isset( $_PO
} }
// if all are good then create user // if all are good then create user
if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success" ) and ( $email == "success" ) and ( isset( $_POST["TaC"] ) ) ){ if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success" ) and ( $email == "success" ) and ( isset( $_POST["TaC"] ) ) ){
$edit = array( $edit = array(
'name' => $_POST["Username"], 'name' => $_POST["Username"],
'pass' => $_POST["Password"], 'pass' => $_POST["Password"],
'mail' => $_POST["Email"], 'mail' => $_POST["Email"],
@ -29,7 +29,7 @@ if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success"
header( 'Location: email_sent.php' ); header( 'Location: email_sent.php' );
exit; exit;
}else{ }else{
$pageElements = array( $pageElements = array(
'GAME_NAME' => $GAME_NAME, 'GAME_NAME' => $GAME_NAME,
'WELCOME_MESSAGE' => $WELCOME_MESSAGE, 'WELCOME_MESSAGE' => $WELCOME_MESSAGE,
'USERNAME' => $user, 'USERNAME' => $user,
@ -42,7 +42,7 @@ if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success"
}else{ }else{
$pageElements['USERNAME_ERROR'] = 'FALSE'; $pageElements['USERNAME_ERROR'] = 'FALSE';
} }
if ( $pass != "success" ){ if ( $pass != "success" ){
$pageElements['PASSWORD_ERROR'] = 'TRUE'; $pageElements['PASSWORD_ERROR'] = 'TRUE';
}else{ }else{
@ -64,7 +64,7 @@ if ( ( $user == "success" ) and ( $pass == "success" ) and ( $cpass == "success"
$pageElements['TAC_ERROR'] = 'TRUE'; $pageElements['TAC_ERROR'] = 'TRUE';
} }
if ( helpers :: check_if_game_client() ){ if ( helpers :: check_if_game_client() ){
helpers :: loadtemplate( '../../ams_lib/ingame_templates/register.phtml', $pageElements ); helpers :: loadtemplate( '../../ams_lib/ingame_templates/register.phtml', $pageElements );
}else{ }else{
helpers :: loadtemplate( 'templates/register.phtml', $pageElements ); helpers :: loadtemplate( 'templates/register.phtml', $pageElements );
} }

View file

@ -0,0 +1,17 @@
.login-header
{
height:190px;
}
.brand img
{
height:100%;
margin-bottom:-18px;
margin-top:-15px;
width:100%;
}
#for-is-ajax
{
display:none;
}

View file

@ -1,12 +1,12 @@
<?php <?php
function add_user(){ function add_user(){
// add user locally here // add user locally here
$return = users :: add_user(); $return = users :: add_user();
return $return; return $return;
} }
function checkUser(){ function checkUser(){
} }

View file

@ -6,18 +6,18 @@ require( '../../ams_lib/libinclude.php' );
if ( isset( $_POST["function"] ) ){ if ( isset( $_POST["function"] ) ){
require( "inc/" . $_POST["function"] . ".php" ); require( "inc/" . $_POST["function"] . ".php" );
$return = $_POST["function"](); $return = $_POST["function"]();
} }
function loadpage ( $page ){ function loadpage ( $page ){
require_once( 'autoload/' . $page . '.php' ); require_once( 'autoload/' . $page . '.php' );
} }
$page = 'home'; $page = 'home';
if ( isset( $_GET["page"] ) ){ if ( isset( $_GET["page"] ) ){
$page = $_GET["page"]; $page = $_GET["page"];
} }
//temporary set permission to 1 which = admin mode // temporary set permission to 1 which = admin mode
$return = array('permission' => 1, 'no_visible_elements' => 'TRUE'); $return = array( 'permission' => 1, 'no_visible_elements' => 'TRUE' );
helpers :: loadTemplate( $page , $return ); helpers :: loadTemplate( $page , $return );

View file

@ -1,7 +1,7 @@
$(document).ready(function(){ $(document).ready(function(){
//themes, change CSS with JS //themes, change CSS with JS
//default theme(CSS) is cerulean, change it if needed //default theme(CSS) is cerulean, change it if needed
var current_theme = $.cookie('current_theme')==null ? 'spacelab' :$.cookie('current_theme'); var current_theme = $.cookie('current_theme')==null ? 'cerulean' :$.cookie('current_theme');
switch_theme(current_theme); switch_theme(current_theme);
$('#themes a[data-value="'+current_theme+'"]').find('i').addClass('icon-ok'); $('#themes a[data-value="'+current_theme+'"]').find('i').addClass('icon-ok');

View file

@ -11,7 +11,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</a> </a>
<a class="brand" href="index.php"> <img alt="Charisma Logo" src="img/mainlogo.png"></a> <a class="brand" href="index.php"> <img alt="Charisma Logo" src="img/mainlogo.png"></a>
<!-- theme selector starts --> <!-- theme selector starts -->
<div class="btn-group pull-right theme-container"> <div class="btn-group pull-right theme-container">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
@ -31,7 +31,7 @@
</ul> </ul>
</div> </div>
<!-- theme selector ends --> <!-- theme selector ends -->
<!-- user dropdown starts --> <!-- user dropdown starts -->
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
@ -45,7 +45,7 @@
</ul> </ul>
</div> </div>
<!-- user dropdown ends --> <!-- user dropdown ends -->
</div> </div>
</div> </div>
@ -53,7 +53,7 @@
<!-- topbar ends --> <!-- topbar ends -->
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
<!-- left menu starts --> <!-- left menu starts -->
<div class="span2 main-menu-span"> <div class="span2 main-menu-span">
<div class="well nav-collapse sidebar-nav"> <div class="well nav-collapse sidebar-nav">
@ -67,17 +67,17 @@
</div><!--/.well --> </div><!--/.well -->
</div><!--/span--> </div><!--/span-->
<!-- left menu ends --> <!-- left menu ends -->
<noscript> <noscript>
<div class="alert alert-block span10"> <div class="alert alert-block span10">
<h4 class="alert-heading">Warning!</h4> <h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p> <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
</div> </div>
</noscript> </noscript>
<div id="content" class="span10"> <div id="content" class="span10">
<!-- content starts --> <!-- content starts -->
<div class="sortable row-fluid ui-sortable"> <div class="sortable row-fluid ui-sortable">
<a data-original-title="6 new members." data-rel="tooltip" class="well span3 top-block" href="#"> <a data-original-title="6 new members." data-rel="tooltip" class="well span3 top-block" href="#">
@ -100,7 +100,7 @@
<div>$13320</div> <div>$13320</div>
<span class="notification yellow">$34</span> <span class="notification yellow">$34</span>
</a> </a>
<a data-original-title="12 new messages." data-rel="tooltip" class="well span3 top-block" href="#"> <a data-original-title="12 new messages." data-rel="tooltip" class="well span3 top-block" href="#">
<span class="icon32 icon-color icon-envelope-closed"></span> <span class="icon32 icon-color icon-envelope-closed"></span>
<div>Messages</div> <div>Messages</div>
@ -108,7 +108,7 @@
<span class="notification red">12</span> <span class="notification red">12</span>
</a> </a>
</div> </div>
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well"> <div class="box-header well">
@ -123,15 +123,15 @@
<h1>Charisma <small>free, premium quality, responsive, multiple skin admin template.</small></h1> <h1>Charisma <small>free, premium quality, responsive, multiple skin admin template.</small></h1>
<p>Its a live demo of the template. I have created Charisma to ease the repeat work I have to do on my projects. Now I re-use Charisma as a base for my admin panel work and I am sharing it with you :)</p> <p>Its a live demo of the template. I have created Charisma to ease the repeat work I have to do on my projects. Now I re-use Charisma as a base for my admin panel work and I am sharing it with you :)</p>
<p><b>All pages in the menu are functional, take a look at all, please share this with your followers.</b></p> <p><b>All pages in the menu are functional, take a look at all, please share this with your followers.</b></p>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
</div> </div>
<div class="row-fluid sortable ui-sortable"> <div class="row-fluid sortable ui-sortable">
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-user"></i> Member Activity</h2> <h2><i class="icon-user"></i> Member Activity</h2>
@ -149,7 +149,7 @@
<strong>Name:</strong> <a href="#">Usman <strong>Name:</strong> <a href="#">Usman
</a><br> </a><br>
<strong>Since:</strong> 17/05/2012<br> <strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-success">Approved</span> <strong>Status:</strong> <span class="label label-success">Approved</span>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
@ -157,7 +157,7 @@
<strong>Name:</strong> <a href="#">Sheikh Heera <strong>Name:</strong> <a href="#">Sheikh Heera
</a><br> </a><br>
<strong>Since:</strong> 17/05/2012<br> <strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-warning">Pending</span> <strong>Status:</strong> <span class="label label-warning">Pending</span>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
@ -165,7 +165,7 @@
<strong>Name:</strong> <a href="#">Abdullah <strong>Name:</strong> <a href="#">Abdullah
</a><br> </a><br>
<strong>Since:</strong> 25/05/2012<br> <strong>Since:</strong> 25/05/2012<br>
<strong>Status:</strong> <span class="label label-important">Banned</span> <strong>Status:</strong> <span class="label label-important">Banned</span>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
@ -173,13 +173,13 @@
<strong>Name:</strong> <a href="#">Saruar Ahmed <strong>Name:</strong> <a href="#">Saruar Ahmed
</a><br> </a><br>
<strong>Since:</strong> 17/05/2012<br> <strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-info">Updates</span> <strong>Status:</strong> <span class="label label-info">Updates</span>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span8"> <div class="box span8">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-list-alt"></i> Realtime Traffic</h2> <h2><i class="icon-list-alt"></i> Realtime Traffic</h2>
@ -241,7 +241,7 @@
</p> </p>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-list"></i> Buttons</h2> <h2><i class="icon-list"></i> Buttons</h2>
@ -278,10 +278,10 @@
<li><a href="#"><i class="icon-tint"></i> Separated link</a></li> <li><a href="#"><i class="icon-tint"></i> Separated link</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-list"></i> Weekly Stat</h2> <h2><i class="icon-list"></i> Weekly Stat</h2>
@ -295,9 +295,9 @@
<ul class="dashboard-list"> <ul class="dashboard-list">
<li> <li>
<a href="#"> <a href="#">
<i class="icon-arrow-up"></i> <i class="icon-arrow-up"></i>
<span class="green">92</span> <span class="green">92</span>
New Comments New Comments
</a> </a>
</li> </li>
<li> <li>
@ -311,21 +311,21 @@
<a href="#"> <a href="#">
<i class="icon-minus"></i> <i class="icon-minus"></i>
<span class="blue">36</span> <span class="blue">36</span>
New Articles New Articles
</a> </a>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
<i class="icon-comment"></i> <i class="icon-comment"></i>
<span class="yellow">45</span> <span class="yellow">45</span>
User reviews User reviews
</a> </a>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
<i class="icon-arrow-up"></i> <i class="icon-arrow-up"></i>
<span class="green">112</span> <span class="green">112</span>
New Comments New Comments
</a> </a>
</li> </li>
<li> <li>
@ -339,28 +339,28 @@
<a href="#"> <a href="#">
<i class="icon-minus"></i> <i class="icon-minus"></i>
<span class="blue">93</span> <span class="blue">93</span>
New Articles New Articles
</a> </a>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
<i class="icon-comment"></i> <i class="icon-comment"></i>
<span class="yellow">254</span> <span class="yellow">254</span>
User reviews User reviews
</a> </a>
</li> </li>
</ul> </ul>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
<!-- content ends --> <!-- content ends -->
</div><!--/#content.span10--> </div><!--/#content.span10-->
</div><!--/fluid-row--> </div><!--/fluid-row-->
<hr> <hr>
<div class="modal hide fade" id="myModal"> <div class="modal hide fade" id="myModal">
@ -380,7 +380,7 @@
<footer> <footer>
<p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p> <p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>
</footer> </footer>
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
{/block} {/block}

View file

@ -51,7 +51,9 @@
<!-- The fav icon --> <!-- The fav icon -->
<!--<link rel="shortcut icon" href="img/favicon.ico">--> <!--<link rel="shortcut icon" href="img/favicon.ico">-->
<!--custom css file-->
<link href="css/custom.css" rel="stylesheet">
</head> </head>
<body> <body>
@ -66,7 +68,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</a> </a>
<a href="index.html"> <img src="img/ryzomtop.png" height="65" style="padding-left:26px;"/></a> <a href="index.html"> <img src="img/ryzomtop.png" height="65" style="padding-left:26px;"/></a>
<!-- theme selector starts --> <!-- theme selector starts -->
<div class="btn-group pull-right theme-container" > <div class="btn-group pull-right theme-container" >
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
@ -86,7 +88,7 @@
</ul> </ul>
</div> </div>
<!-- theme selector ends --> <!-- theme selector ends -->
<!-- user dropdown starts --> <!-- user dropdown starts -->
<div class="btn-group pull-right" > <div class="btn-group pull-right" >
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
@ -117,14 +119,14 @@
</div><!--/.well --> </div><!--/.well -->
</div><!--/span--> </div><!--/span-->
<!-- left menu ends --> <!-- left menu ends -->
<noscript> <noscript>
<div class="alert alert-block span10"> <div class="alert alert-block span10">
<h4 class="alert-heading">Warning!</h4> <h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p> <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
</div> </div>
</noscript> </noscript>
<div id="content" class="span10"> <div id="content" class="span10">
<!-- content starts --> <!-- content starts -->
{/if} {/if}
@ -231,7 +233,7 @@
<script src="js/jquery.history.js"></script> <script src="js/jquery.history.js"></script>
<!-- application script for Charisma demo --> <!-- application script for Charisma demo -->
<script src="js/charisma.js"></script> <script src="js/charisma.js"></script>
</body> </body>
</html> </html>