A lightweight forum engine written in PHP. Repository is now obsolete and read-only. http://www.pioder.pl/uforum.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.2 KiB

<?php
if (isset($_GET['user']))
{
switch($_GET['user'])
{
case 'user':
{
if (isset($_GET['m']))
{
Secure::message_u_exists(intval($_GET['m']));
Secure::message_user_loged(intval($_GET['m']));
Pms::DeleteMsgUser(intval($_GET['m']));
$stop = Over::TimeGeneration();
message_forum($lng['pm_is_deleted'],'pms.php');
}
else
{
$stop = Over::TimeGeneration();
message_forum($lng['invalidmode'],'pms.php');
}
break;
}
case 'author':
{
if (isset($_GET['m']))
{
Secure::message_a_exists(intval($_GET['m']));
Secure::message_author_loged(intval($_GET['m']));
Pms::DeleteMsgAuthor(intval($_GET['m']));
$stop = Over::TimeGeneration();
message_forum($lng['pm_is_deleted'],'pms.php?mode=folder&amp;submode=sentbox');
}
else
{
$stop = Over::TimeGeneration();
message_forum($lng['invalidmode'],'pms.php');
}
break;
}
default:
{
$stop = Over::TimeGeneration();
message_forum($lng['invalidmode'],'pms.php');
break;
}
}
}
else
{
$stop = Over::TimeGeneration();
message_forum($lng['invalidmode'],'pms.php');
}
?>