@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
defined ( 'IN_TS' ) or die ( 'Access Denied.' );
|
||||
$userid = aac('user')->isLogin();
|
||||
|
||||
$attachid = intval ( $_GET ['id'] );
|
||||
|
||||
$stredit = $new ['attach']->find ( 'attach', array ('attachid' => $attachid ) );
|
||||
$stredit['content'] = tsDecode($stredit['content']);
|
||||
if($stredit=='')
|
||||
{
|
||||
|
||||
tsNotice('NO!');
|
||||
}
|
||||
if($userid!=$stredit['userid'])
|
||||
{
|
||||
tsNotice('NO');
|
||||
|
||||
}
|
||||
include template ( "edit" );
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user