-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/inc.bk/comment/act/
File Upload :
Current File : /var/www/html/inc.bk/comment/act/skn.list.php

<?php

# skin

$skins = $skin->skin( array (
						'frm'		=> 'FORM' ,
						'frm2'	=> 'FORM2' ,
						'rep'		=> 'REPEAT'
					) , $skinfile ) ;

# construct

$info = array() ;

$autoWD = '' ; 
$frm_autoWD = '' ; 
if ( $total['useAutoWD'] == 'Y' ) { 
	$autoWD = str_rand(7,'A1') ;
	$frm_autoWD = '<div style="padding-left:40px;padding-top:5px;"><a href="javascript:;"><img src="/inc/file/secretcode.php?w=140&h=30&scode=' . $autoWD . '" onclick="changeSCcode(this);" align="absmiddle"></a>
		&nbsp;&nbsp;&nbsp;&nbsp;¿ÞÂÊ À̹ÌÁö¸¦ º¸ÀÌ´Â ´ë·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.  <input type="text" name="incode" value="" style="width:80px;" class="form"></div>' ;
} 
if ( $config[$total['code']][4]['cmt_level'] <= $total['loginlevel'] )
	$info['form'] = str_foreach ( array (
									'scode'				=> $autoWD ,
									'frm__autoWD'	=> $frm_autoWD ,
									'name_read'		=> ( !empty($total['loginno']))?'readOnly':'' 
								 ) , 'INFO' , $skins['frm2'] ) ;

$total = $exe->qry_list( " from tbl_{$info_comment[table]} where keycode='{$total[code]}' and parent_numid = '{$numid}' order by write_date asc " , " numid, real_id , real_no , real_level , parent_numid , name , contents , emotion , write_date " , $total ) ;
while ( $rs = $exe->fetch( $total['execute']))
{
	$rs['name'] = html_entity_decode($rs['name']);
	$rs['contents'] = nl2br($rs['contents']);
	if ( $total['loginlevel'] > 90 )
		$rs['btn_delete'] = '<a href="javascript: confirmmsg(\'»èÁ¦ÇÕ´Ï´Ù.\',\'' . $total['cmnnb'] . '&mode=delete&c_numid=' . $rs['numid'] . '\');">' . $button['btn_del2'] . '</a>' ;
	else if ( !empty($total['loginid']) && !empty($total['loginno']) && $total['loginid'] == $rs['real_id'] && $total['loginno'] == $rs['real_no'] )
		$rs['btn_delete'] = '<a href="javascript: confirmmsg(\'»èÁ¦ÇÕ´Ï´Ù.\',\'' . $total['cmnnb'] . '&mode=delete&c_numid=' . $rs['numid'] . '\');">' . $button['btn_del2'] . '</a>' ;
	else
		$rs['btn_delete'] = '<a href="' . $total['cmnnb'] . '&mode=pass&next_mode=delete&c_numid=' . $rs['numid'] . '">' . $button['btn_del2'] . '</a>' ;
	$info['repeat'] .= str_foreach ( $rs , 'RS' , $skins['rep'] ) ;
}

$total = $exe->paging( $total['cmnnb'] . '&mode=' . $total['mode'] , $total ) ;

$result = str_foreach ( $info , 'INFO' , $skins['frm'] ) ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee