[#13] moving to new &tag& format

This commit is contained in:
Xkeeper
2015-08-13 22:21:26 -07:00
parent e59edb197b
commit 813eaefa37
5 changed files with 87 additions and 102 deletions

View File

@@ -200,9 +200,11 @@
$numposts = $user[posts] + 1;
$numdays = (ctime()-$user[regdate])/86400;
$msg = doreplace($msg, $numposts, $numdays, $username);
$tags = array();
$msg = doreplace($msg, $numposts, $numdays, $username, $tags);
$rsign = doreplace($sign, $numposts, $numdays, $username);
$rhead = doreplace($head, $numposts, $numdays, $username);
$tagval = $sql->escape(json_encode($tags));
$posticons = file('posticons.dat');
$posticon = $posticons[$iconid];
$currenttime = ctime();