- Joined
- Feb 20, 2006
- Messages
- 214
- Reaction score
- 3
I get following problem:
And the code there is:
Please solutions how to fix
![malemees - [PHP] Problem With Cutenews - RaGEZONE Forums malemees - [PHP] Problem With Cutenews - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
And the code there is:
//----------------------------------
// Notify user if the news were auto-archived
//----------------------------------
//get last auto-archive date
$ladb_content = file("$cutepath/data/auto_archive.db.php");
list($last_archived[year], $last_archived[month]) = split("\|", $ladb_content[0] );
$last_login_year = date("Y", (int)$member_db[9]);
$last_login_month = date("n", (int)$member_db[9]);
if((int)$last_login_month < (int)$last_archived[month] and $last_login_year <= $last_archived[year]){
echo"<tr><td style='padding:3px; border:1px dashed orange; background-color:yellow;' colspan=5 height=1>
<b>Attention!</b><br>
CuteNews has performed auto-archive opperation since your last login at ".date("d M Y H:i:s", $member_db[9])."<br>
If you don't want your news to be auto-archived every month,<br>
you can swith this option off from <a href=\"?mod=options&action=syscon\">System Configurations</a>.
</td></tr>";
}
Please solutions how to fix
Last edited by a moderator: