Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script type="text/javascript" src="/assets/tiny_mce/tiny_mce.js"></script>
- <script type="text/javascript">
- tinyMCE.init({
- theme : "advanced",
- mode : "textareas",
- plugins : "lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
- 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,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- convert_urls : false,
- height: 300,
- width:700
- });
- </script>';
- <title>
- </title>
- </head>
- <body>
- <h2><?php echo $header; ?></h2>
- <?php
- foreach ($menu as $item ) {
- echo "<li>".anchor($item -> link,$item->nama)."</li>";
- }
- ?>
- <hr><hr>
- <?php
- echo $error;
- echo validation_errors();
- echo $this->session->flashdata('msg'); ?>
- <?php echo form_open_multipart('Admin/Admin_post/do_upload'); ?>
- <fieldset>
- <p><label>Category :</label>
- <?php
- echo form_dropdown('category',$category);
- ?></p>
- <p><label>Judul :</label>
- <?php
- $judul=array (
- 'name'=>'judul',
- 'id'=>'',
- 'style'=>'width:25%'
- );
- echo form_input($judul);
- ?>
- </p>
- <p> <label>Post :</label></p>
- <?php
- $content = array(
- 'name' => 'post',
- 'class' => ''
- );
- echo form_textarea($content)
- ?>
- <p><label>Banner :</label>
- <?php
- $image = array(
- 'name' => 'userfile'
- );
- echo form_upload($image);
- ?>
- </p> <?php echo form_submit('save','save').form_submit('publish','publish').
- form_reset('reset','reset');
- ?>
- </fieldset>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment