-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/html/idx/
File Upload :
Current File : /var/www/html/html/idx/board_cf.php

<?php

	if ( $config[$total['code']][4]['list_level'] > $total['loginlevel'] )
		script_re ( '/mypage/?path=' . urlencode($_SERVER['REQUEST_URI'])) ;

	switch ( $mode )
	{
			// print
			case 'print' :		$phpfile = $total['design'] . '/skn.print.php' ;				$skinfile = $total['design'] . '/print.html' ;			break ;
			// vot
			case 'vot' :		$phpfile = 'board/act.vot.php' ;									break ;
			// reply
			case 're_in' :		$phpfile = 'board/act.reply.insert.php' ;						break ;
			case 'reply' :		$phpfile = 'board/skn.reply.php' ;								$skinfile = 'board/action.html' ;							$title_type['dir'].= "/bg2.jpg" ;	break ;
			// base info
			case 'delete' :	$phpfile = 'board/act.delete.php' ;								break ;
			case 'update' :	$phpfile = 'board/act.update.php' ;								break ;
			case 'insert' :	$phpfile = $total['design'] . '/act.insert.php' ;				break ;
			case 'pass' :		$phpfile = 'board/skn.pass.php' ;								$skinfile = 'board/pass.html' ;								$title_type['dir'].= "/bg2.jpg" ;	break ;
			case 'modify' :	$phpfile = 'board/skn.modify.php' ;							$skinfile = 'board/action.html' ;							$title_type['dir'].= "/bg2.jpg" ;	break ;
			case 'write' :		$phpfile = 'board/skn.write.php' ;								$skinfile = 'board/action.html' ;							$title_type['dir'].= "/bg2.jpg" ;	break ;
			case 'view' :		$phpfile = $total['design'] . '/skn.view.php' ;				$skinfile = $total['design'] . '/view.html' ;			$title_type['dir'].= "/bg2.jpg" ;	break ;
			default :			$phpfile = $total['design'] . '/skn.list.php' ;				$skinfile = $total['design'] . '/list.html' ;				$title_type['dir'].= "/bg.jpg" ;	break ;
	}

	$list_cut_title_length = 45 ;
	

# ategory

	if ( $config[$total['code']][4]['category'] == 'on' )
	{
		$category_numid = str_extract( explode( ',' , $total['ftyp'] ) , explode( ',' , $total['fbox'] ) , 'category_numid' , 'string' ) ;
		if ( empty($category_numid))
		{
			$category_numid = $exe->qry_fetch ( " from tbl_{$total[table]}_category where keycode = '{$total[code]}' order by sequence asc limit 1 " , " numid , board_name " ) ;
			$search_query['total'].= " and category_numid = '{$category_numid[numid]}' " ;
			$title_type['navi'].= " > <b>" . $category_numid['board_name'] . "</b>" ;
		}
		else
		{
			$category_numid = $exe->qry_fetch ( " from tbl_{$total[table]}_category where keycode = '{$total[code]}' and numid='{$category_numid}' limit 1 " , " numid , board_name " ) ;
			$title_type['navi'].= " > <b>" . $category_numid['board_name'] . "</b>" ;
		}
	}
?>

Copyright © 2017 || Recoded By Mr.Bumblebee