-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/z_admin_cashtest/php/inquiry/
File Upload :
Current File : /var/www/html/z_admin_cashtest/php/inquiry/skn.view.php

<?php

# approve
	if ( empty($numid)) script_re($total['cmnall'] , ' Á¢±ÙÇÒ ¼ö ¾ø½À´Ï´Ù. ' ) ;

	$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$numid}' " , " * " ) ;
	if ( empty($info['numid'])) script_re( $total['cmnall'] , ' »èÁ¦µÇ¾ú°Å³ª ¾ø´Â µ¥ÀÌÅÍÀÔ´Ï´Ù. ' ) ;

	if ( $info['confirm_type'] == 'N' ) $exe->qry_update ( " confirm_type = 'Y' " , " tbl_{$total[table]} " , " numid = '{$numid}' " ) ;

	$info['gubun'] = $define_inquiry[$info['gubun']];
	$info['contents'] = nl2br($info['contents']);

# skin file
	$skins = $skin->skin (	array ( 'frm' => 'FORM' , 'o_frm' => 'MOVE RECORD' ) , $skinfile ) ;

# button
	$total['btn_list'] = '<a href="' . $total['cmnall'] . '">' . $button_adminmode['btn_list'] . '</a>' ;
	$total['btn_delete'] = '<a href="javascript: confirmmsg(\'»èÁ¦ÇÕ´Ï´Ù.\' , \'' . $total['cmnnb'] . '&mode=delete\'); ">' . $button_adminmode['btn_delete'] . '</a>' ;
	$total['btn_modify'] = '<a href="' . $total['cmnnb'] . '&mode=modify">' . $button_adminmode['btn_modify'] . '</a>' ;

# get data
	$prev_info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' {$search_query[total]} and numid > {$info[numid]} order by numid asc " , " numid , username ") ;
	if ( !empty($prev_info['numid']))
		$info['prev_record'] = str_foreach ( array ( 'move_type' => $button['btn_move_up'] , 'title' => '<a href="' . $total['cmnall'] . '&mode=view&numid=' . $prev_info['numid'] . '">' . str_no_tag($prev_info['username']) . '´Ô²²¼­ ¹®ÀÇÇϼ̽À´Ï´Ù.</a>' ) , 'RS' , $skins['o_frm'] ) ;
	$next_info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' {$search_query[total]} and numid < {$info[numid]}  order by numid desc " , " numid , username ") ;
	if ( !empty($next_info['numid']))
		$info['next_record'] = str_foreach ( array ( 'move_type' => $button['btn_move_down'] , 'title' => '<a href="' . $total['cmnall'] . '&mode=view&numid=' . $next_info['numid'] . '">' . str_no_tag($next_info['username']) . '´Ô²²¼­ ¹®ÀÇÇϼ̽À´Ï´Ù.</a>' ) , 'RS' , $skins['o_frm'] ) ;

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


?>

Copyright © 2017 || Recoded By Mr.Bumblebee