Skip to content
Snippets Groups Projects
Commit 6eb18063 authored by Chris Jones's avatar Chris Jones
Browse files

fix utf again

parent 4de274c9
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,6 @@ $motd .= "---------------------------- [ http://sucs.org/ ] --------------------
//if (time()-filemtime($motd_file) < 86000 && $poemmode == 1) { //86000 to allow a little slack depending on when cron runs
// print "MOTD too recent to replace with a poem!\n";
//} else {
file_put_contents($motd_file, utf8_encode($motd));
file_put_contents($motd_file, $motd);
//}
?>
......@@ -7,6 +7,7 @@ $dbuser = 'apache';
$DB = NewADOConnection('postgres8');
$DB->Connect('dbname='.$dbname.' user='.$dbuser);
$DB->SetCharSet('utf8');
$DB->SetFetchMode(ADODB_FETCH_ASSOC);
include($base."components/motd.php");
......@@ -2,7 +2,10 @@
<div class="cbb">
<h3>Recent Forum posts</h3>
<p>Looking for something?</p>
<p>We are looking to remove the forum component of the site</p>
<p>If you have an opinion on this change contact: staff@sucs.org</p>
{*
<table width="100%" class="border">
<tr>
<th>Subject</th>
......@@ -15,5 +18,6 @@
</tr>
{/foreach}
</table>
*}
</div>
{/if}
......@@ -4,7 +4,7 @@
<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://swansea-union.co.uk'>swansea-union.com</a> and selecting purchase history.</p>
<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.com</a> and selecting purchase history.</p>
<div class="row">
<label for="sid">Student Number:</label>
......@@ -18,7 +18,7 @@
<input type="submit" name="submit" value="Join" /></span>
</div>
<div class="clear"></div>
<div class="note">If you wish to renew an existing account instead, please login to <a href="https://sucs.org/Options">Membership Options</a> using your existing account details.</div>
<div class="note">If you already have an account and wish to renew, simply buy an additional years membership from the <a href='http://www.swansea-union.co.uk/mysociety/sucs/'>SUSU website</a>. Enter the details above and click "Join"</div>
</div>
<div class="hollowfoot"><div><div></div></div></div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment