<?php if($SITE['article_check']){?>
<!DOCTYPE html>
<html lang="en" class="app">
<head>  
  <meta charset="utf-8" />
  <title>投稿 - <?php echo $SITE['title'];?></title>
  <meta name="description" content="<?php echo $SITE['con'];?>">
  <meta name="keywords" content="<?php echo $SITE['keyword'];?>">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/css/bootstrap.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/css/animate.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/css/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/css/simple-line-icons.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/css/font.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/css/app.css" type="text/css" />  
  <link rel="stylesheet" href="<?php echo TEMP_URL?>/js/datepicker/datepicker.css" type="text/css" />
<link rel="stylesheet" href="<?php echo TEMP_URL?>/js/slider/slider.css" type="text/css" />
<link rel="stylesheet" href="<?php echo TEMP_URL?>/js/chosen/chosen.css" type="text/css" />
  <!--[if lt IE 9]>
    <script src="js/ie/html5shiv.js"></script>
    <script src="js/ie/respond.min.js"></script>
    <script src="js/ie/excanvas.js"></script>
  <![endif]-->
</head>
<body class="">
      <section class="hbox stretch">
        <!-- .aside -->

        <!-- /.aside -->
        <section id="content">
          <section class="vbox">
            <section class="scrollable padder">
          


              <section class="panel panel-default">
                <header class="panel-heading font-bold">
                 <center>記事を投稿</center>
                </header>
                <div class="panel-body">
                  <form class="form-horizontal" method="post" action="?i=write">
                    <div class="form-group">
                      <label class="col-sm-2 control-label">作者:</label>
                      <div class="col-sm-10">
                        <input type="text" name="athor" class="form-control" placeholder="あなたの名前を入力してください、これは本文の作者..">
                      </div>
                    </div>
                     <div class="line line-dashed b-b line-lg pull-in"></div>
                     <div class="form-group">
                      <label class="col-sm-2 control-label">携帯電話:</label>
                      <div class="col-sm-10">
                        <input type="text" name="con_tel" class="form-control" placeholder="あなたの携帯番号を入力してください、ネットワークアーで乱入力、もし文章を褒めて、携帯電話で連絡方式に報酬を与える..">
                      </div>
                    </div>
                     <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                      <label class="col-sm-2 control-label">文章標題</label>
                      <div class="col-sm-10">
                        <input type="text" name="title" class="form-control" placeholder="文章の見出しを入力してください。">
                      </div>
                    </div>
              
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                 
                
                    <div class="form-group">
                      <label class="col-sm-2 control-label">文章のタイプ</label>
                      <div class="col-sm-10">
                        <select name="section" class="form-control m-b">
                         <option value='CheckPage'>登録確認</option>
                        </select>
                        
                      </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group has-success">
                      <label class="col-sm-2 control-label">資源リンク</label>
                      <div class="col-sm-10">
                        <input type="text" name="rlink" class="form-control" placeholder="空を用いて、音楽の住所やビデオの住所..">
                      </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group has-warning">
                      <label class="col-sm-2 control-label">資源図</label>
                      <div class="col-sm-10">
                        <input type="text" name="image_link" class="form-control" placeholder="空を、音楽として使用曲ロゴとして、動画リストに表示されたときに展示用..">
                      </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                      <label class="col-sm-2 control-label">文章の分類</label>
                      <div class="col-sm-10">
                        <select name="ify" class="form-control m-b">
                          <option value='0'>未分類</option>
                          <?php foreach ($ify as $v){?>
							<option value='<?php echo $v['pid']?>'><?php echo $v['ify_name']?></option>
							<?php }?>
                        </select>
                        
                      </div>
                    </div>
           
                    
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                      <label class="col-sm-2 control-label">内容</label>
                      <div class="col-sm-10">
                        
                        
                        <textarea id="editor" name="content" class="form-control" style="overflow:scroll;height:150px;" placeholder="内容を入力してください。.."></textarea>
                      </div>
                    </div>

                   
                    
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                      <div class="col-sm-4 col-sm-offset-2">
                        <input type="submit" class="btn btn-primary" name="submit" value="提出文章">
                      </div>
                    </div>
                  </form>
                </div>
              </section>
            </section>
          </section>
          <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen,open" data-target="#nav,html"></a>
        </section>
      </section>
    </section>    
  </section>
  <script src="<?php echo TEMP_URL?>/js/jquery.min.js"></script>
  <!-- Bootstrap -->
  <script src="<?php echo TEMP_URL?>/js/bootstrap.js"></script>
  <!-- App -->
  <script src="<?php echo TEMP_URL?>/js/app.js"></script>  
  <script src="<?php echo TEMP_URL?>/js/slimscroll/jquery.slimscroll.min.js"></script>

  <!-- datepicker -->
  <script src="<?php echo TEMP_URL?>/js/datepicker/bootstrap-datepicker.js"></script>
  <!-- slider -->
  <script src="<?php echo TEMP_URL?>/js/slider/bootstrap-slider.js"></script>
  <!-- file input -->  
  <script src="<?php echo TEMP_URL?>/js/file-input/bootstrap-filestyle.min.js"></script>
  <!-- wysiwyg -->
  <script src="<?php echo TEMP_URL?>/js/wysiwyg/jquery.hotkeys.js"></script>
  <script src="<?php echo TEMP_URL?>/js/wysiwyg/bootstrap-wysiwyg.js"></script>
  <script src="<?php echo TEMP_URL?>/js/wysiwyg/demo.js"></script>
  <!-- markdown -->
  <script src="<?php echo TEMP_URL?>/js/markdown/epiceditor.min.js"></script>
  <script src="<?php echo TEMP_URL?>/js/markdown/demo.js"></script>

  <script src="<?php echo TEMP_URL?>/js/chosen/chosen.jquery.min.js"></script>
  <script src="<?php echo TEMP_URL?>/js/app.plugin.js"></script>
</body>
</html>
<?php }else{?>
その後、投稿機能~
<?php }?>