Viewing file: 7f217490dc12a596db6c14c2c2f79e21c6212888.file.doc.tpl.php (7.84 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2011-05-29 21:12:13 compiled from "modules/regulatory/templates/doc.tpl" */ ?> <?php /*%%SmartyHeaderCode:8234886284de28c7d74bc78-94272734%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '7f217490dc12a596db6c14c2c2f79e21c6212888' => array ( 0 => 'modules/regulatory/templates/doc.tpl', 1 => 1306692730, ), ), 'nocache_hash' => '8234886284de28c7d74bc78-94272734', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <form method="post" enctype="multipart/form-data">
<table class="editor-table">
<tr>
<th>
<div id="current-language">
<?php $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('languages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']=0; if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value){ $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++; ?>
<input type="radio" <?php if ($_smarty_tpl->tpl_vars['lang']->value==GetParam("DefaultLanguage")){?> checked="checked" <?php }?> id="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> " name="current-language" value="<?php echo $_smarty_tpl->tpl_vars['lang']->value;?> " />
<label for="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> "><img src="/admin/images/<?php echo $_smarty_tpl->tpl_vars['lang']->value;?> 30x20.gif" /></label>
<?php }} ?>
</div>
</th>
</tr>
<tr>
<td>
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Laws_law_name'];?> :<br />
<textarea rows="3" cols="100" name="doc_title_ukr" id="doc_title_ukr"><?php echo $_smarty_tpl->getVariable('doc_title_ukr')->value;?> </textarea><br /><br />
<table style="width: 100%; border-spacing: 0;">
<tr style="background-color:#FCFDE1;">
<td style="width: 200px;"><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDoc1'];?> :</td>
<td>
<?php if (file_exists("data/regulatory/".($_smarty_tpl->getVariable('doc_file1')->value))&&strlen(trim($_smarty_tpl->getVariable('doc_file1')->value))>0){?>
<strong><a href="/data/regulatory/<?php echo $_smarty_tpl->getVariable('doc_file1')->value;?> "><?php echo $_smarty_tpl->getVariable('doc_file1')->value;?> </a></strong><br />
<?php }?>
<label><input type="radio" name="doc1" value="0" checked="checked" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNoChange'];?> </label><br />
<label><input type="radio" name="doc1" value="new" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNew'];?> </label>: <input type="file" name="file1" /><br />
<label><input type="radio" name="doc1" value="del" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentDelete'];?> </label>
</td>
</tr>
<tr style="background-color:#E6FFDF;">
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDoc2'];?> :</td>
<td>
<?php if (file_exists("data/regulatory/".($_smarty_tpl->getVariable('doc_file2')->value))&&strlen(trim($_smarty_tpl->getVariable('doc_file2')->value))>0){?>
<strong><a href="/data/regulatory/<?php echo $_smarty_tpl->getVariable('doc_file2')->value;?> "><?php echo $_smarty_tpl->getVariable('doc_file2')->value;?> </a></strong><br />
<?php }?>
<label><input type="radio" name="doc2" value="0" checked="checked"/><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNoChange'];?> </label><br />
<label><input type="radio" name="doc2" value="new" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNew'];?> </label>: <input type="file" name="file2" /><br />
<label><input type="radio" name="doc2" value="del" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentDelete'];?> </label>
</td>
</tr>
<tr style="background-color:#CEFEFF;">
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDoc3'];?> :</td>
<td>
<?php if (file_exists("data/regulatory/".($_smarty_tpl->getVariable('doc_file3')->value))&&strlen(trim($_smarty_tpl->getVariable('doc_file3')->value))>0){?>
<strong><a href="/data/regulatory/<?php echo $_smarty_tpl->getVariable('doc_file3')->value;?> "><?php echo $_smarty_tpl->getVariable('doc_file3')->value;?> </a></strong><br />
<?php }?>
<label><input type="radio" name="doc3" value="0" checked="checked"/><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNoChange'];?> </label><br />
<label><input type="radio" name="doc3" value="new" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNew'];?> </label>: <input type="file" name="file3" /><br />
<label><input type="radio" name="doc3" value="del" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentDelete'];?> </label>
</td>
</tr>
<tr style="background-color:#FFE6E7;">
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDoc4'];?> :</td>
<td>
<?php if (file_exists("data/regulatory/".($_smarty_tpl->getVariable('doc_file4')->value))&&strlen(trim($_smarty_tpl->getVariable('doc_file4')->value))>0){?>
<strong><a href="/data/regulatory/<?php echo $_smarty_tpl->getVariable('doc_file4')->value;?> "><?php echo $_smarty_tpl->getVariable('doc_file4')->value;?> </a></strong><br />
<?php }?>
<label><input type="radio" name="doc4" value="0" checked="checked"/><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNoChange'];?> </label><br />
<label><input type="radio" name="doc4" value="new" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentNew'];?> </label>: <input type="file" name="file4" /><br />
<label><input type="radio" name="doc4" value="del" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['RegulatoryDocumentDelete'];?> </label>
</td>
</tr>
</table>
<br />
<?php echo $_smarty_tpl->getVariable('photo_admin_table2')->value;?> <br /><input value="<?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreSave'];?> " type="submit" name="submit" id="submit" class="ui-state-default ui-widget ui-corner-all" /></td>
<input type="hidden" name="oper" value="<?php echo $_smarty_tpl->getVariable('oper')->value;?> " />
</td>
</tr>
</table>
</form>
<script type="text/javascript">
$(document).ready(function()
{
$("select[name='actual_date_year'], select[name='actual_date_month'], select[name='actual_date_day'], select[name='actual_date_hours'], select[name='actual_date_minutes']").click(function()
{
str = $("select[name='actual_date_year']").val() + "-" +
$("select[name='actual_date_month']").val() + "-" +
$("select[name='actual_date_day']").val() + " " +
$("select[name='actual_date_hours']").val() + ":" +
$("select[name='actual_date_minutes']").val();
$("input[name='actual_date']").attr("value", str);
});
});
</script>
|