Viewing file: b75a6eba2c6479bc7cc4ed0f9d603b0495261ae0.file.project.tpl.php (22.75 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-05-10 21:39:35 compiled from "modules/projects/templates/project.tpl" */ ?> <?php /*%%SmartyHeaderCode:715950084fac0b67b120e1-39072366%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'b75a6eba2c6479bc7cc4ed0f9d603b0495261ae0' => array ( 0 => 'modules/projects/templates/project.tpl', 1 => 1336675175, ), ), 'nocache_hash' => '715950084fac0b67b120e1-39072366', '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>
Місто:
<select name="city_id" id="city_id">
<?php $_smarty_tpl->tpl_vars['city'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('cities')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['city']->key => $_smarty_tpl->tpl_vars['city']->value){ ?>
<option value="<?php echo $_smarty_tpl->tpl_vars['city']->value['city_id'];?> " <?php if ($_smarty_tpl->tpl_vars['city']->value['city_id']==$_smarty_tpl->getVariable('city_id')->value){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['city']->value['city_name_ukr'];?> </option>
<?php }} ?>
</select>
<div class="ukr">
Організація громади, що виконує проект (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<input name="project_implementing_partner_ukr" type="text" id="project_implementing_partner_ukr" value="<?php echo $_smarty_tpl->getVariable('project_implementing_partner_ukr')->value;?> " size="100" />
</div>
<div class="eng">
Організація громади, що виконує проект (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<input name="project_implementing_partner_eng" type="text" id="project_implementing_partner_eng" value="<?php echo $_smarty_tpl->getVariable('project_implementing_partner_eng')->value;?> " size="100" />
</div>
<div class="ukr">
Назва проекту (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="77" name="project_name_ukr" id="project_name_ukr"><?php echo $_smarty_tpl->getVariable('project_name_ukr')->value;?> </textarea>
</div>
<div class="eng">
Назва проекту (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="77" name="project_name_eng" id="project_name_eng"><?php echo $_smarty_tpl->getVariable('project_name_eng')->value;?> </textarea>
</div>
<div class="ukr">
Сфера (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<input name="project_type_ukr" type="text" id="project_type_ukr" value="<?php echo $_smarty_tpl->getVariable('project_type_ukr')->value;?> " size="100" />
</div>
<div class="eng">
Сфера (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<input name="project_type_eng" type="text" id="project_type_eng" value="<?php echo $_smarty_tpl->getVariable('project_type_eng')->value;?> " size="100" />
</div>
<div>Дата початку:</div>
<div>
<select name="project_initial_date_day" id="project_initial_date_day">
<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['day']); $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['name'] = 'day'; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] = is_array($_loop=32) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] = ((int)1) == 0 ? 1 : (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start']); else $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop']-1); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total']); ?>
<option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['day']['index']==ParseDate(($_smarty_tpl->getVariable('project_initial_date')->value),"day")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['index'];?> </option>
<?php endfor; endif; ?>
</select> -
<select name="project_initial_date_month" id="project_initial_date_month">
<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['month']); $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['name'] = 'month'; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] = (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] = is_array($_loop=13) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] = ((int)1) == 0 ? 1 : (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start']); else $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop']-1); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total']); ?>
<option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['month']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['month']['index']==ParseDate(($_smarty_tpl->getVariable('project_initial_date')->value),"month")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('ALANG')->value["CoreMonth".($_smarty_tpl->getVariable('smarty')->value['section']['month']['index'])];?> </option>
<?php endfor; endif; ?>
</select> -
<select name="project_initial_date_year" id="project_initial_date_year">
<?php ob_start();?><?php echo GetCurrentYear()+1;?> <?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo GetCurrentYear()-2004+1;?> <?php $_tmp2=ob_get_clean();?><?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['year']); $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['name'] = 'year'; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop'] = is_array($_loop=$_tmp1) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max'] = (int)$_tmp2; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'] = ((int)-1) == 0 ? 1 : (int)-1; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show'] = true; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop']-1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total']); ?>
<option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['year']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['year']['index']==ParseDate(($_smarty_tpl->getVariable('project_initial_date')->value),"year")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['year']['index'];?> </option>
<?php endfor; endif; ?>
</select>
</div>
<div class="ukr">
Загальний бюджет (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):
<input name="project_total_cost_ukr" type="text" value="<?php echo $_smarty_tpl->getVariable('project_total_cost_ukr')->value;?> " size="20" />
</div>
<div class="eng">
Загальний бюджет (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):
<input name="project_total_cost_eng" type="text" value="<?php echo $_smarty_tpl->getVariable('project_total_cost_eng')->value;?> " size="20" />
</div>
<div class="ukr">
Внесок ПРООН/МПВСР (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):
<input name="project_undp_contribution_ukr" type="text" value="<?php echo $_smarty_tpl->getVariable('project_undp_contribution_ukr')->value;?> " size="20" />
</div>
<div class="eng">
Внесок ПРООН/МПВСР (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):
<input name="project_undp_contribution_eng" type="text" value="<?php echo $_smarty_tpl->getVariable('project_undp_contribution_eng')->value;?> " size="20" />
</div>
<div class="ukr">
Внесок міської ради (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):
<input name="project_city_contribution_ukr" type="text" value="<?php echo $_smarty_tpl->getVariable('project_city_contribution_ukr')->value;?> " size="20" />
</div>
<div class="eng">
Внесок міської ради (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):
<input name="project_city_contribution_eng" type="text" value="<?php echo $_smarty_tpl->getVariable('project_city_contribution_eng')->value;?> " size="20" />
</div>
<div class="ukr">
Внесок громади (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):
<input name="project_community_contribution_ukr" type="text" value="<?php echo $_smarty_tpl->getVariable('project_community_contribution_ukr')->value;?> " size="20" />
</div>
<div class="eng">
Внесок громади (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):
<input name="project_community_contribution_eng" type="text" value="<?php echo $_smarty_tpl->getVariable('project_community_contribution_eng')->value;?> " size="20" />
</div>
<div class="ukr">
Внесок 3-х сторін (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):
<input name="project_third_contribution_ukr" type="text" value="<?php echo $_smarty_tpl->getVariable('project_third_contribution_ukr')->value;?> " size="20" />
</div>
<div class="eng">
Внесок 3-х сторін (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):
<input name="project_third_contribution_eng" type="text" value="<?php echo $_smarty_tpl->getVariable('project_third_contribution_eng')->value;?> " size="20" />
</div>
<div class="ukr">
Кількість членів громади (чол./жін./діт.) (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):
<input name="project_members_ukr" type="text" value="<?php echo $_smarty_tpl->getVariable('project_members_ukr')->value;?> " size="40" />
</div>
<div class="eng">
Кількість членів громади (чол./жін./діт.) (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):
<input name="project_members_eng" type="text" value="<?php echo $_smarty_tpl->getVariable('project_members_eng')->value;?> " size="40" />
</div>
<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" />
<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>
|