• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Website Problem

Zigon

New Member
Joined
Jul 1, 2012
Messages
2
Reaction score
0
Hello,

I have recently created my own website (Gesior 0.3.8). I am pretty new to this however I have some friends that is pretty experienced. Anyways I am gonna get straight to the chase, it's an pretty easy configuration I think but I dont know where to edit this so I am hoping you guys will lead me in the right direction.

Whenever someone makes an account at my website it says:
Created: 31 December 1969, 16:00:00

And I'd like to know how you can edit this to the right date cause obviously this is an bug, since he didn't create the account at 31 december 1969.. :w00t:

Best regards,
Zigon
 
OTS_Account.php

PHP:
$this->db->query('INSERT INTO ' . $this->db->tableName('accounts') . ' (' . $this->db->fieldName('id') . ', ' . $this->db->fieldName('name') . ', ' . $this->db->fieldName('password') . ', ' . $this->db->fieldName('email') . ') VALUES (' . $number . ', ' . $this->db->quote($name) . ', \'\', \'\')');

PHP:
$this->db->query('INSERT INTO ' . $this->db->tableName('accounts') . ' (' . $this->db->fieldName('id') . ', ' . $this->db->fieldName('name') . ', ' . $this->db->fieldName('password') . ', ' . $this->db->fieldName('email') . ', ' . $this->db->fieldName('created') . ') VALUES (' . $number . ', ' . $this->db->quote($name) . ', \'\', \'\',' . time() . ')');
 
Back
Top