<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>データの削除｜{$config.page_title|escape}</title>
{if $config.meta_robots}<meta name="robots" content="{$config.meta_robots}">
{/if}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="{$config.root_uri}/bootstrap/bootswatch/{$appearance.bootswatch_name}/bootstrap.min.css" media="screen">
<link rel="stylesheet" href="{$config.root_uri}/css/parts.css">
<link rel="stylesheet" href="{$config.root_uri}/css/flatmemo.css">
<link rel="stylesheet" href="{$config.root_uri}/font-awesome/css/font-awesome.min.css">

<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="{$config.root_uri}/bootstrap/bootstrap.min.js" defer></script>
<script src="{$config.root_uri}/js/flatmemo.js" defer></script>
<script src="{$config.root_uri}/js/jquery_kill_referrer.js" defer></script>

</head>
<body>

{include file="inc/header.html"}



<div class="container">


<div class="row">

<div class="col-sm-6">
<div class="row">
<div class="col-sm-3 col-md-2">
<div class="fm_icon2">
<a href="{$config.memo_uri}/category/{$category_id}"><p style="background-image: url({$config.icon_uri}/{if $icon_file_name}{$icon_file_name}{else}noicon.jpg{/if})"></p></a>
</div>
</div>
<div class="col-sm-9 col-md-10 fm_cate_name">
<a href="{$config.memo_uri}/category/{$category_id}">{$category_name|escape}</a>
</div>
</div>
</div>

</div><!-- /.row -->


<div class="row mt10">


<div class="well">

<div class="row">
<div class="col-sm-2">タイトル：
</div>
<div class="col-sm-10">{$title_name|escape}
</div>
</div>

<div class="row">
<div class="col-sm-2">テキスト：
</div>
<div class="col-sm-10">{$text_name|nl2br}
</div>
</div>

<div class="row">
<div class="col-sm-2">添付file：
</div>
<div class="col-sm-10">
{ foreach from=$attach_jp_loop key="k" item="v" name="loopname" }
{ math equation=a-1 a=$smarty.foreach.loopname.iteration assign=i }
<a href="{$config.data_file_uri}/{$attach_en_loop.$i}" target="_blank">{$v|escape}</a> ,
{ /foreach }
</div>
</div>

<hr>

<div class="row">
<div class="col-sm-2">
</div>
<div class="col-sm-10">
<form name="form1" method="get" action="{$_program_uri}" onsubmit="accessing('accessing'); return notrepeat();">
{$hidden}
<p class="mb10" style="color:red">このデータを削除しますか？</p>
<div class="visible-xs block mt10"></div>
<input type="submit" class="btn btn-danger" value="削除する" />　<input type="button" class="btn btn-default" value="戻る" onclick="history.back()" />
<p id="accessing" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>
</form>
</div>
</div>


</div>

</div><!-- /.row -->



</div><!-- /.container -->




{include file="inc/footer.html"}




</body>
</html>
