<?php /* Smarty version 2.6.26, created on 2010-02-20 00:01:19
compiled from C:%5CUsers%5Cpierre%5CDocuments%5CEasyPHP5.3.0%5Cwww/mod/news/tpl/formajout.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/news/tpl/formajout.tpl', 1, false),array('function', 'link', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/news/tpl/formajout.tpl', 4, false),array('block', 'contner', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/news/tpl/formajout.tpl', 2, false),)), $this); ?>
<?php echo smarty_function_config_load(array('file' => 'configuration.conf'), $this);?>
<?php $this->_tag_stack[] = array('contner', array('type' => 'head')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
<div style="text-align:center;">
<a href="<?php echo smarty_function_link(array('module' => 'news','action' => 'index'), $this);?>
">Liste des news</a> -
<a href="<?php echo smarty_function_link(array('module' => 'news','action' => 'ajout'), $this);?>
">Ajouter une news</a> -
<a href="<?php echo smarty_function_link(array('module' => 'news','action' => 'configuration_news'), $this);?>
">Configuration</a>
</div><br />
<form method=POST action="<?php echo smarty_function_link(array('module' => 'admin','action' => "news/ajout"), $this);?>
">
Titre: <input type="text" name="titre" /><br />
Image: <input type="text" name="image" /><br />
Description: <br />
<?php echo "<script src=\"http://127.0.0.1/editor/tiny_mce.js\" type=\"text/javascript\"></script><script type=\"text/javascript\">
tinyMCE.init({
// General options
mode : \"exact\",
elements : \"id_html\",
theme : \"advanced\",
language : \"fr\",
document_base_url : \"http://127.0.0.1/editor/\",
relative_urls : false,
plugins : \"safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager\",
// Theme options
theme_advanced_buttons1 : \"save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect\",
theme_advanced_buttons2 : \"cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor\",
theme_advanced_buttons3 : \"tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen\",
theme_advanced_buttons4 : \"insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage\",
theme_advanced_toolbar_location : \"top\",
theme_advanced_toolbar_align : \"left\",
theme_advanced_statusbar_location : \"bottom\",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : \"css/example.css\",
// Drop lists for link/image/media/template dialogs
template_external_list_url : \"js/template_list.js\",
external_link_list_url : \"js/link_list.js\",
external_image_list_url : \"js/image_list.js\",
media_external_list_url : \"js/media_list.js\",
// Replace values for the template plugin
template_replace_values : {
}
});
</script>
</script>"; ?>
<textarea id="id_html" name="description"></textarea>
<br />
<input type="submit" value="Envoyer"/>
</form>
<?php $this->_tag_stack[] = array('contner', array('type' => 'foot')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>