Пример #1
0
 * 
 * showitem.currency.php
 * 
 * showitem.currency dialog
 * 
 */
// enable or disable logging
error_reporting(E_ALL);
ini_set('display_errors', '1');
// 0 - disabled; 1 - enabled
//
$o = new currency($data->data->id);
$o->details();
?>
<div class="title"><?php 
echo ucwords($o->get("id") == -1 ? CURRENCY_NEW_CURRENCY : CURRENCY_EDIT_CURRENCY);
?>
</div>
<div class="form">
    <div class="column">
        <div class="row name">
            <div class="caption"><?php 
echo ucwords(CURRENCY_NAME);
?>
<input type="hidden" id="id" value="<?php 
echo $o->get('id');
?>
" /></div>
            <div class="value"><input class="input-text" type="text" value="<?php 
echo $o->get('name');
?>