예제 #1
0
파일: editor.php 프로젝트: refschool/mucms
"><br>
				</td>
			</tr>
		</table>
	


	<label>Keyword<br>
	<input type=text name="keyword" size ="40" maxlength="100" value="<?php 
    echo $post['keyword'];
    ?>
"></label>


	<?php 
    $meta_array = fetch_meta_info($post['path']);
    //pretty($meta_array);
    ?>

	

	<div class="subset">
		<h2>meta_robot</h2>
		<label><input type=checkbox name="meta_robotCANONICAL" value="checked" <?php 
    echo $meta_array["meta_canonical"];
    ?>
>CANONICAL</label>
		<label><input type=checkbox name="meta_robotNOINDEX" value="checked" <?php 
    echo $meta_array["meta_robot_index"];
    ?>
>NOINDEX</label>
예제 #2
0
<?php 
$editid = $_GET['id'];
//if(!isset($editid)){$editid = 1;}
$post = get_post_content($editid);
$meta_array = fetch_meta_info($path);
//print_r($meta_array);
$topic = $_GET['topic'];
?>
<div id="tabs">
	<ul>
		<li><a href="#tabs-1">Edit config.php</a></li>
		<li><a href="#tabs-2">Plugins-config.php</a></li>
		<li><a href="#tabs-3">Nav settings</a></li>	
		<li><a href="#tabs-4">Category</a></li>	
	</ul>
	
	
<form action="settings-update.php" method="post" >		
	<div id="tabs-1">
		<p>Edit config.php</p>
		<textarea id="config" name="config" rows="45" cols="70"><?php 
$file = '../../inc/config.php';
$handle = fopen($file, 'r');
$buffer = fread($handle, filesize($file));
fclose($handle);
echo $buffer;
?>
</textarea>