Skip to content

Instantly share code, notes, and snippets.

"USD": {
"displayName": "US Dollar", "displayName-count-one": "US dollar", "displayName-count-other": "US dollars",
"symbol": "$", "symbol-alt-narrow": "$"
}
UPDATE `ps_employee` SET `passwd` = MD5('<_COOKIE_>password') WHERE `ps_employee`.`id_employee` = 1;
<span><img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16"
style="margin-right: 2px;"/>{$language.name|regex_replace:"/\s\(.*\)$/":""}
</span>
<img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16" style="margin-right: 2px;"/>
{if $fileupload == 1}
<p class="form-group">
<label for="fileUpload">{l s='Attach File'}</label>
<input type="hidden" name="MAX_FILE_SIZE" value="{if isset($max_upload_size) && $max_upload_size}{$max_upload_size|intval}{else}2000000{/if}" />
<input type="file" name="fileUpload" id="fileUpload" class="form-control" />
</p>
{/if}
<label for="fileUpload">{l s='Attach File'}</label>
{if (!isset($customerThread.id_order) || $customerThread.id_order > 0)}
<div class="form-group selector1">
<label>{l s='Order reference'}</label>
{if !isset($customerThread.id_order) && isset($is_logged) && $is_logged}
<select name="id_order" class="form-control">
<option value="0">{l s='-- Choose --'}</option>
{foreach from=$orderList item=order}
<option value="{$order.value|intval}"{if $order.selected|intval} selected="selected"{/if}>{$order.label|escape:'html':'UTF-8'}</option>
{/foreach}
</select>
<label>{l s='Order reference'}</label>
<div class="current">
<span>{$language.name|regex_replace:"/\s.*$/":""}</span>
</div>
<div class="current">
<span>{$language.iso_code}</span>
</div>