Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • osian/sucs-site
  • kais58/sucs-site
  • imranh/sucs-site
  • foshjedi2004/sucs-site
  • gigosaurus/sucs-site
  • matstn/sucs-site
  • ripp_/sucs-site
  • eggnog/sucs-site
  • sucssite/sucs-site
  • elbows/sucs-site
  • realitykiller/sucs-site
  • crox/sucs-site
  • vectre/sucs-site
  • welshbyte/sucs-site
  • paperclipman/sucs-site
15 results
Show changes
<div class="cbb">
<h3>Search SUCS</h3>
<form method="get" action="http://www.google.co.uk/custom">
<div id="search">
<input type="text" class="text" name="q" maxlength="255" value="" /><br />
<div id="searchbox" class="cbb">
<h3>Search SUCS</h3>
<div class="buttons">
<div class="left"><a href="http://www.google.co.uk/"><img src="/images/google.png" width="66" height="25" alt="Google" /></a></div>
<input class="submit" type="submit" name="sa" value="Search" />
</div>
<form method="get" action="http://www.google.co.uk/cse">
<div id="search">
<input type="text" class="text" name="q" maxlength="255" value=""/><br/>
<input type="hidden" name="cof" value="S:http://sucs.org;AH:left;LH:76;L:http://sucs.org/images/sucslogo-halo.png;LW:170;AWFID:624aceb6f2753532;" />
<input type="hidden" name="domains" value="sucs.org" />
<input type="hidden" name="sitesearch" value="sucs.org" />
</div>
</form>
<div class="buttons">
<div class="left"><a href="http://www.google.co.uk/"><img src="{$baseurl}/images/google.png" width="66"
height="25" alt="Google"/></a></div>
<input class="submit" type="submit" name="sa" value="Search"/>
</div>
<div class="clear"></div>
</div>
<input type="hidden" name="cof"
value="S:http://sucs.org;AH:left;LH:76;L:http://sucs.org/images/sucslogo-halo.png;LW:170;AWFID:624aceb6f2753532;"/>
<input type="hidden" name="domains" value="sucs.org"/>
<input type="hidden" name="sitesearch" value="sucs.org"/>
</div>
</form>
<div class="clear"></div>
</div>
{* Terribly crude i know, but include the spreadshirt sucs shop *}
<iframe src="http://www.spreadshirt.net/shop.php?sid=170367" frameborder="0" style="width: 100%; height: 1240px;">
<iframe src="https://sucs.spreadshirt.co.uk/" frameborder="0" style="width: 100%; height: 1240px;">
</iframe>
<!-- <object data="/~dez/shop.php" width="100%" height="1240" type="text/html"></object> -->
{if $staff == TRUE}
<form action="" method="post">
<table border='1'>
<tr>
<th>ID</th>
<th>SID</th>
<th>Type</th>
<th>Issued By</th>
<th>Card Number</th>
</tr>
{foreach name=signups from=$signups item=signup}
<tr>
<td>{$signup.id|escape}</td>
<td><input type="text" size="10" name="sid:{$signup.id|escape}" value="{$signup.sid|escape}"/></td>
<td>{$signup.typename|escape}</td>
<td>{$signup.username|escape}</td>
<td>{$signup.card|escape}</td>
</tr>
{/foreach}
</table>
<input type='hidden' name='command' value='update'/>
<input type='submit' value='Update Records'/>
<input type='reset' value='Reset'/>
</form>
{else}
<div class="errorbar">
<div>
<div>
<div>
You must be logged in and be a staff member to modify signup details;
</div>
</div>
</div>
</div>
{/if}
{if $mode=='login'}
<form action="{$componentpath}" method="post">
<div class="box" style="width: 70%; margin: auto;">
<div class="boxhead"><h2>Membership Signup</h2></div>
<div class="boxcontent">
<p>Please enter the details from your signup receipt</p>
<div class="row">
<label for="signupid">Signup ID:</label>
<span class="textinput"><input type="text" size="20" name="signupid" id="signupid"/></span>
</div>
<div class="row">
<label for="signuppw">Password:</label>
<span class="textinput"><input type="text" size="20" name="signuppw" id="signuppw"/></span>
</div>
<div class="row"><span class="textinput">
<input type="submit" name="submit" value="Sign Up"/></span>
</div>
<div class="clear"></div>
<div class="note">If you wish to renew an existing account instead, please login to <a
href="{$baseurl}/Options">Membership Options</a> using your existing account details.
</div>
</div>
<div class="hollowfoot">
<div>
<div></div>
</div>
</div>
</div>
</form>
{elseif $mode=='form' || $mode=="re-form"}
<h1>Signup</h1>
<form id="mainform" action="{$componentpath}" method="post">
{if $usertype==1}
<div class="row" id="studentiddiv">
<label for="studentid">Student Number</label>
<span class="textinput"><input type="text" id="studentid" name="studentid" size="30"
{if $mode=='re-form'}value='{$fields.studentid}'{elseif isset($signupsid)}value='{$signupsid}'{/if} /></span>
<div id="studentidmessage"{if $mode=='re-form'}{if isset($errors.studentid)}
style="color:red; float:right; clear:right;">{$errors.studentid}{else} style="color:green;
float:right; clear:right;">OK{/if}{else}>{/if}</div>
</div>
{/if}
<div class="row" id="usernamediv">
<label for="username">Username</label>
<span class="textinput"><input type="text" id="username" name="username" size="30"
{if $mode=='re-form'}value='{$fields.username}'{/if}/></span>
<div id="usernamemessage"{if $mode=='re-form'}{if isset($errors.username)}
style="color:red; float:right; clear:right;">{$errors.username}{else} style="color:green; float:right;
clear:right;">OK{/if}{else}>{/if}</div>
</div>
<div class="row" id="realnamediv">
<label for="realname">{if $usertype!=2}Real Name{else}Society Name{/if}</label>
<span class="textinput"><input type="text" id="realname" name="realname" size="30"
{if $mode=='re-form'}value='{$fields.realname}'{/if} {if $usertype==1}readonly{/if}/></span>
<div id="realnamemessage"{if $mode=='re-form'}{if isset($errors.realname)}
style="color:red; float:right; clear:right;">{$errors.realname}{else} style="color:green; float:right;
clear:right;">OK{/if}{else}>{/if}</div>
</div>
{if $usertype!=2}
<div class="row" id="postcodediv" style="display:none">
<label for="postcode">Post Code</label>
<span class="textinput"><input type="text" id="postcode" size="10" value=""/></span>
<div id="postcodemessage"></div>
</div>
<div class="row" id="addseldiv" style="display:none">
<label for="addsel">Address Selector</label>
<span class="textinput"><select id="addsel" value=""></select></span>
</div>
<div class="row" id="addressdiv">
<label for="address">{if $usertype==1}Term Time {/if}Address</label>
<span class="textinput"><textarea id="address" name="address" cols="35"
rows="4">{if $mode=='re-form'}{$fields.address}{/if}</textarea></span>
<div id="addressmessage"{if $mode=='re-form'}{if isset($errors.address)}
style="color:red; float:right; clear:right;">{$errors.address}{else} style="color:green;
float:right; clear:right;">OK{/if}{else}>{/if}</div>
</div>
{else}
<div class="row" id="contactdiv">
<label for="contact">Contact Name</label>
<span class="textinput"><input type="text" id="contact" name="contact" size="30"
{if $mode=='re-form'}value='{$fields.contact}'{/if}/></span>
<div id="contactmessage"{if $mode=='re-form'}{if isset($errors.contact)}
style="color:red; float:right; clear:right;">{$errors.contact}{else} style="color:green;
float:right; clear:right;">OK{/if}{else}>{/if}</div>
</div>
{/if}
<div class="row" id="emaildiv">
<label for="email">Email Address</label>
<span class="textinput"><input type="text" id="email" name="email" size="30"
{if $mode=='re-form'}value='{$fields.email}'{/if}/></span>
<div id="emailmessage"{if $mode=='re-form'}{if isset($errors.email)}
style="color:red; float:right; clear:right;">{$errors.email}{else} style="color:green; float:right;
clear:right;">OK{/if}{else}>{/if}</div>
</div>
<div class="row" id="phonediv">
<label for="phone">Phone Number</label>
<span class="textinput"><input type="text" id="phone" name="phone" size="30"
{if $mode=='re-form'}value='{$fields.phone}'{/if}/></span>
<div id="phonemessage"{if $mode=='re-form'}{if isset($errors.phone)}
style="color:red; float:right; clear:right;">{$errors.phone}{else} style="color:green; float:right;
clear:right;">OK{/if}{else}>{/if}</div>
</div>
<div class="row" id="tncdiv">
<span class="textinput"><input type="checkbox" id="tnc" name="tnc" size="30"
{if $mode=='re-form'}value='{$fields.tnc}'{/if}/>I have read and understood, and agree to be bound by the <a
href="{$baseurl}/About/Conditions">Terms and Conditions</a>.</span>
<div id="tncmessage"{if $mode=='re-form'}{if isset($errors.tnc)}
style="color:red; float:right; clear:right;">{$errors.tnc}{else} style="color:green; float:right;
clear:right;">OK{/if}{else}>{/if}</div>
</div>
{if $overridable}
<div class="row" id="overridediv">
<label for="overridable">Override Validation</label>
<span class="textinput"><input type="checkbox" id="override" name="override"/></span>
</div>
{/if}
<input type="hidden" id="signupid" name="signupid" value="{$signupid}"/>
<input type="hidden" id="signuppw" name="signuppw" value="{$signuppw}"/>
<div class="row" id="submitdiv">
<input type="submit" id="submit" value="Submit"/>
</div>
</form>
{elseif $mode=='result'}
{if !$failed}
<h1>Welcome to SUCS</h1>
<p>Signup is complete, please see below for your password, a copy has also been send to {$email}, we request you
change this immediately. See our <a href="{$baseurl}/Getting%20Started">Getting Started</a> page for some
ways you can start using your new SUCS account!</p>
<p>
Username: <strong>{$username}</strong><br/>
Password: <strong>{$password}</strong><br/>
</p>
{else}
<h1>Error</h1>
An error occured during signup, please email
<a href='mailto:admin@sucs.org'>admin@sucs.org</a>
for assistance.
{/if}
{/if}
<p>The Student Union's societies website can be found at <a href="http://www.societies.swansea-union.co.uk/">http://www.societies.swansea-union.co.uk/</a>.</p>
<p>The Students' Union's societies website may be found at <a href="http://swansea-union.co.uk/societies">http://swansea-union.co.uk/societies</a>.
</p>
<p>The following societies' websites are hosted by SUCS:</p>
<ul>
{foreach name=societies from=$societies item=society}
<li><a href="http://society.swan.ac.uk/~{$society.username|escape:'url'}">{$society.fullname|escape:'htmlall'}</a>{if $society.descr} - {$society.descr}{/if}</li>
{/foreach}
{foreach name=societies from=$societies item=society}
<li>
<a href="https://sucs.org/~{$society.username|escape:'url'}">{$society.fullname|escape:'htmlall'}</a>{if $society.descr} - {$society.descr}{/if}
</li>
{/foreach}
</ul>
<form class="dialog" action="{$path}" method="post">
<div class="box">
<div class="boxhead"><h2>Warning</h2></div>
<div class="boxcontent">
<p>Are you sure you want to delete '{$title}'?</p>
<p><input type="submit" name="action" value="Delete" />
<div class="box">
<div class="boxhead"><h2>Warning</h2></div>
<div class="boxcontent">
<p>Are you sure you want to delete '{$title}'?</p>
<input type="submit" name="action" value="Cancel" /></p>
</div>
<div class="hollowfoot"><div><div></div></div></div>
</div>
<p><input type="submit" name="action" value="Delete"/>
<input type="submit" name="action" value="Cancel"/></p>
</div>
<div class="hollowfoot">
<div>
<div></div>
</div>
</div>
</div>
</form>
<form class="admin" action="{$path}" method="POST">
<div class="row">
<label for="edittitle">Title</label>
<span class="textinput"><input type="text" name="edittitle" id="edittitle" value="{$title}" style="width: 100%;" disabled="disabled" /></span>
</div>
<div class="row">
<label for="summary">Summary</label>
<span class="textinput"><input type="text" name="summary" id="summary" value="{$record.summary|escape:'htmlall'}" style="width: 100%;" /></span>
</div>
<div class="row">
<label for="body">Content</label>
<span class="textinput"><textarea name="body" id="body" style="width: 100%; height: 25em;">{$editcontent|escape:'htmlall'}</textarea></span>
</div>
<div class="row">
<div class="row">
<label for="edittitle">Title</label>
<span class="textinput"><input type="text" name="edittitle" id="edittitle" value="{$title}" style="width: 100%;"
disabled="disabled"/></span>
</div>
<div class="row">
<label for="summary">Summary</label>
<span class="textinput"><input type="text" name="summary" id="summary"
value="{$record.summary|escape:'htmlall'}" style="width: 100%;"/></span>
</div>
<div class="row">
<label for="body">Content</label>
<span class="textinput"><textarea name="body" id="body"
style="width: 100%; height: 25em;">{$editcontent|escape:'htmlall'}</textarea></span>
</div>
<div class="row">
<span class="textinput">
<input type="submit" id="submit-1" name="action" value="Save" />
<input type="submit" id="submit-1" name="action" value="Save"/>
</span>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</form>
{if $staff == TRUE}
{*{if $mode == 'error'}
<div class='errorbar'>
<strong>Error: </strong> {$error_text}
</div>
{/if}*}
{if $mode == 'renewals'}
<form action='{$componentpath}' method='post'>
<table id='susignup-renewals'>
<thead>
<tr>
<th>Renew Now?</th>
<th>Name (SU)</th>
<th>Name (SUCS)</th>
<th>Student ID</th>
<th>SUCS Username</th>
<th>Paid Until</th>
</tr>
</thead>
<tbody>
{foreach from=$matches item=match}
<tr>
<td class='centre'><input name='renew[]' id='renew' value='{$match[3]}' type='checkbox'
checked='checked'/></td>
<td>{$match[0]}</td>
<td>{$match[1]}</td>
<td class='centre'>{$match[2]}</td>
<td>{$match[3]}</td>
<td class='centre'>{$match[4]}</td>
</tr>
{foreachelse}
<tr>
<td colspan='6'><em>No matches found</em></td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan='5'><strong>For large numbers of renewals, this can take a while!</strong></td>
<td class='centre'><input type='submit' name='rwsubmit' id='rwsubmit' value='Go!'/></td>
</tr>
</tfoot>
</table>
<input type='hidden' name='mode' id='mode' value='renewals2'/>
</form>
{if $others > 0}
<p>There were also <strong>{$others}</strong> other records found.<br/>
Of these, {$paidup} are current members and {$pending} are pending signups.</p>
{/if}
{elseif $mode == 'renewals2'}
<div class='centre'>
<div class='cbb' style='text-align: left'>
<h3> Mass renewal results </h3>
<strong>{$attempt}</strong> accounts marked for renewal<br/>
<hr/>
{if $successes == $attempt}
<strong>All</strong>
of these requests were successful.
<br/>
{else}
<strong>{$successes}</strong>
requests were successful, and
<span style='color: red'><strong>{$failures}</strong></span>
requests failed.
<br/>
The following accounts failed to renew:
<ul>
{foreach from=$failusers item=f}
<li>{$f}</li>
{/foreach}
</ul>
{/if}
</div>
</div>
{elseif $mode == 'list'}
<table id='susignup-renewals'>
<thead>
<tr>
<th>Name (SU)</th>
<th>Name (SUCS)</th>
<th>Student ID</th>
<th>SUCS Username</th>
<th>Paid Until</th>
</tr>
</thead>
<tbody>
{foreach from=$matches item=match}
<tr>
<td>{$match[0]}</td>
<td>{$match[1]}</td>
<td class='centre'>{$match[2]}</td>
<td>{$match[3]}</td>
<td class='centre'>{$match[4]}</td>
</tr>
{foreachelse}
<tr>
<td colspan='6'><em>Oh Noes! No members found in the SU database</em></td>
</tr>
{/foreach}
</tbody>
</table>
{elseif $mode == 'search'}
<div style='text-align: center'>
<div class='cbb' style='text-align: left'>
Student {$sid} appears to have paid, and a signup slip has been generated.<br/>
The details are:<br/>
<strong>Slip ID: </strong> {$slipid}<br/>
<strong>Slip Password: </strong> {$slippass} <br/>
<form action="{$baseurl}/signup/" method="post">
<input type=hidden name="signupid" id="id" value="{$slipid}"/>
<input type=hidden name="signuppw" id="pass" value="{$slippass}"/>
<input type=submit name="submit" value="Proceed"/>
</form>
</div>
</div>
{elseif $mode == 'menu' || $mode == 'error' || $mode == 'renew'}
<p>
This component allows staff members to sort out memberships and renewals that have been paid for via the SU
payments system. </p>
<p>Renew an individual member, generate a list of members that look like they've paid via the SU system or begin
the signup process for a newbie who doesn't have their transaction ID by selecting the appropriate option
below.
</p>
<div style='text-align: center'>
<div class='susignup-admin-menu cbb'>
<h3>Signup a newbie</h3>
<form action='{$componentpath}' method='post'>
<label for='sid'>Student Number:</label>
<input type='text' name='sid' id='sid' maxlength=6/>
<input type='hidden' name='mode' id='mode' value="search"/>
<input type='submit' name='snsubmit' id='snsubmit' value="Start"/>
</form>
</div>
<div class='susignup-admin-menu cbb'>
<h3>Bulk Renewals</h3>
<p style='text-align: left'>This will query the SU API and generate a list of corresponding SUCS
accounts to be renewed.<br/> This process can take a little while to run</p><br/>
<form action='{$componentpath}' method='post'>
<input type='submit' name='rwsubmit' id='rwsubmit' value='Generate List'/>
<input type='hidden' name='mode' id='mode' value='renewals'/>
</form>
</div>
<div class='susignup-admin-menu cbb'>
<h3>SU Membership List</h3>
<p style='text-align: left'>This will query the SU API for all current SUCS members<br/> This process
can take a little while to run</p><br/>
<form action='{$componentpath}' method='post'>
<input type='submit' name='lssubmit' id='lssubmit' value='View List'/>
<input type='hidden' name='mode' id='mode' value='list'/>
</form>
</div>
</div>
{else}
<div class="errorbar">
Invalid mode - {$mode}
</div>
{/if}
{else}
<div class="errorbar">
<div>
<div>
<div>
You must be logged in and be a staff member to use this component;
</div>
</div>
</div>
</div>
{/if}
{if $mode=='login'}
<form action="{$componentpath}" method="post">
<div class="box" style="width: 70%; margin: auto;">
<div class="boxhead"><h2>Membership Signup</h2></div>
<div class="boxcontent">
<p>Please enter your Transation ID. It can be found by logging into <a
href='http://www.swansea-union.co.uk/shop/purchasehistory/'>swansea-union.co.uk</a> and
selecting purchase history.</p>
<div class="row">
<label for="sid">Student Number:</label>
<span class="textinput"><input type="text" size="20" name="sid" id="sid"/></span>
</div>
<div class="row">
<label for="transactionID">Transaction ID:</label>
<span class="textinput"><input type="text" size="20" name="transactionID"
id="transactionID"/></span>
</div>
<div class="row"><span class="textinput">
<input type="submit" name="submit" value="Join"/></span>
</div>
<div class="clear"></div>
<div class="note">If you already have an account and wish to renew, simply buy an additional years
membership from the <a href='https://sucs.org/join'>SUSU website</a>. Enter
the details above and click "Join"
</div>
</div>
<div class="hollowfoot">
<div>
<div></div>
</div>
</div>
</div>
</form>
{elseif $mode=='form'}
<h1>Signup</h1>
<p>To contiune signup now click below</p>
<form action="{$baseurl}/signup/" method="post">
<input type=hidden name="signupid" id="id" value="{$id}"/>
<input type=hidden name="signuppw" id="pass" value="{$pass}"/>
<input type=hidden name="signupsid" id="sid" value="{$sid}"/>
<input type=submit name="submit" value="Proceed"/>
</form>
{else}
<h1>Error</h1>
<div class='errorbar'>
<strong>Error: </strong> {$error_text}
</div>
An error occured during signup, please email, with as much information as you can provide,
<a href='mailto:admin@sucs.org'>admin@sucs.org</a>
for assistance.
{/if}
{php}
{* {php}
$script = "<script type=\"text/javascript\">\n";
$script .= "window.addEventListener('load', function(e) {\n";
$script .= "\tdocument.getElementById(\"uri\").focus();\n";
......@@ -7,27 +7,32 @@ $script .= "</script>";
$this->append('extra_scripts', $script);
{/php}
*}
{if $session->loggedin}
<div class="box" style="width: 80%; margin: auto;">
<div class="boxhead"><h2>Create a ShortURI</h2></div>
<div class="boxcontent">
<form class="admin" action="{$path}" method="POST">
<div class="row">
<label for="uri">URI</label>
<span class="textinput"><input type="text" name="uri" id="uri" value="" style="width: 100%;" /></span>
</div>
<div class="row">
<div class="box" style="width: 80%; margin: auto;">
<div class="boxhead"><h2>Create a ShortURI</h2></div>
<div class="boxcontent" style="height: 69px;">
<form class="admin" action="{$path}" method="POST">
<div class="row">
<label for="uri">URI</label>
<span class="textinput"><input type="text" name="uri" id="uri" value=""
style="width: 100%;"/></span>
</div>
<div class="row">
<span class="textinput">
<input type="submit" id="submit-1" name="action" value="Create" />
<input type="submit" id="submit-1" name="action" value="Create"/>
</span>
</div>
<div class="clear"></div>
</form>
</div>
<div class="hollowfoot">
<div>
<div></div>
</div>
</div>
<div class="clear"></div>
</form>
</div>
<div class="hollowfoot"><div><div></div></div></div>
</div>
</div>
{/if}
{if $uri}<p>Your ShortURI is <a href="{$uri}">{$uri}</a></p>{/if}
{if $uri}<p>Your ShortURI is <a href="{$uri}">{$uri}</a></p>{/if}
\ No newline at end of file
{foreach from=$user_messages.error item=message}
<div class="errorbar">
<div><div><div>
{$message}
</div></div></div>
</div>
<div class="errorbar">
<div>
<div>
<div>
{$message}
</div>
</div>
</div>
</div>
{/foreach}
{foreach from=$user_messages.warning item=message}
<div class="errorbar">
<div><div><div>
{$message}
</div></div></div>
</div>
<div class="errorbar">
<div>
<div>
<div>
{$message}
</div>
</div>
</div>
</div>
{/foreach}
{foreach from=$user_messages.notice item=message}
<div class="errorbar">
<div><div><div>
{$message}
</div></div></div>
</div>
<div class="errorbar">
<div>
<div>
<div>
{$message}
</div>
</div>
</div>
</div>
{/foreach}
{foreach from=$user_messages.info item=message}
<div class="infobar">
<div><div><div>
{$message}
</div></div></div>
</div>
<div class="infobar">
<div>
<div>
<div>
{$message}
</div>
</div>
</div>
</div>
{/foreach}
{if count($users) > 0 }
<div class="cbb">
<div class="cbb">
<h3>Recent site visitors</h3>
<h3>Recent site visitors</h3>
<table width="100%" class="border">
<tr>
<th width="70%">Username</th>
<th width="30%">Idle for</th>
</tr>
{foreach name=users from=$users item=user}
<tr>
<td><a href="/Community/Members/{$user.username|escape:'url'}">{$user.username}</a></td>
<td>{$user.idle}</td>
</tr>
{/foreach}
</table>
</div>
<table width="100%" class="border">
<tr>
<th width="70%">Username</th>
<th width="30%">Idle for</th>
</tr>
{foreach name=users from=$users item=user}
<tr>
<td><a href="{$baseurl}/Community/Members/{$user.username|escape:'url'}">{$user.username}</a></td>
<td>{$user.idle}</td>
</tr>
{/foreach}
</table>
</div>
{/if}
<div class="cbb">
<h3>Falid</h3>
<ul id="valid">
<li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li>
</ul>
</div>
<div class="cbb">
<h3>Falid</h3>
<ul id="valid">
<li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li>
</ul>
</div>
<div class="cbb">
<h3>Valid</h3>
<ul id="valid">
<li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li>
</ul>
</div>
<div class="cbb">
<h3>Valid</h3>
<ul id="valid">
<li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li>
</ul>
</div>