-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/html/php/board/
File Upload :
Current File : /var/www/html/html/php/board/skn.print.php

<?php

########################################################
// approve
########################################################

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

	if ( $config[$total['code']][4]['viewlevel'] > $total['loginlevel'] )
		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 ( $config[$total['code']][4]['self'] == 'on' )
	{
		if ( $info['real_id'] != $total['loginid'] && $info['self_numid'] != $total['loginno'] )
		{
			script_bk( ' ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. ' ) ;
		}
	}

########################################################
// approve :: secret
########################################################

	if ( $config[$total['code']][4]['secret'] == 'on' && $info['secret_type'] == 'Y' )
	{
		if ( !empty($total['loginid']) && !empty($total['loginno']) && $total['loginlevel'] == $info['real_level'] && $total['loginno'] == $info['real_no'] && $total['loginid'] == $info['real_id'] )
		{
			// ÀÚ±â±ÛÀÌ¸é ºñ¹Ð¹øÈ£°¡ ÇÊ¿ä¾ø½À´Ï´Ù.
		}
		else
		{
			// ÇöÀç ±ÛÀÌ ´ä±ÛÀÏ °æ¿ì
			// ¿øº»±ÛÀÇ ºñ¹Ð¹øÈ£³ª ÇöÀç ±ÛÀÇ ºñ¹Ð¹øÈ£ ¸ðµÎ »ç¿ë°¡´É
			if ( empty($_POST['pass']))
				script_re( $total['cmnnb'] . '&mode=pass&next_mode=view' ) ;
			else if ( $info['msg_level'] > 0 )
			{
				// ¿øº»±ÛÀÇ ºñ¹Ð¹øÈ£ °¡Á®¿À±â..
				$tmp_pass = $exe->qry_fetch (	" from tbl_{$total[table]} where keycode='{$total[code]}' " .
												" and grp_id = '{$info[grp_id]}' and seq_id < '{$info[seq_id]}' and msg_level < '{$info[msg_level]}' order by seq_id desc limit 1 " , " numid , pass " ) ;
				if ( $tmp_pass['pass'] != $_POST['pass'] && $info['pass'] != $_POST['pass'] )
					script_re( $total['cmnnb'] . '&mode=pass&next_mode=view' , ' ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù. \n ¡Ø ´ä±ÛÀÏ °æ¿ì ¿øº»±ÛÀÇ ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϼŵµ Á¢±ÙÇÒ ¼ö ÀÖ½À´Ï´Ù. ' ) ;
			}
			// ÇöÀç ±ÛÀÌ ÀϹݱÛÀÏ °æ¿ì
			else
			{
				if ( $info['pass'] != $_POST['pass'] )
					script_re( $total['cmnnb'] . '&mode=pass&next_mode=view' , ' ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù.' ) ;
			}
		}
	}

########################################################
// skin file
########################################################

	$skins = $skin->skin (	array (
							'frm'		=> 'FORM' ,
						 ) , $skinfile ) ;

########################################################
// get data
########################################################

	$info['title'] = html_entity_decode($info['title']) ;
	// Á¦¸ñ»ö»ó
	$info['title'] = '<span style="color:' . $info['title_color'] . '">' . $info['title'] . '</span>' ;

	$info['name'] = html_entity_decode($info['name']) ;
	$info['contents'] = html_entity_decode($info['contents']) ;

########################################################
// end
########################################################

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

	$result = str_foreach ( $total , 'TOTAL' , $result ) ;


	echo $result ;
	exit ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee