コード例 #1
0
ファイル: edit-store.php プロジェクト: jabouzi/belron
        <div id="Page_haut">
            <div id="Breadcrumb"><a href="#">&nbsp;</a></div>
            <h1><?php 
echo gettext("Edit store");
?>
</h1>
        </div>
        <div id="error">               
        </div>   
        <form id="edit_store" method="post" action="<?php 
echo base_url() . "storesmanager/update/";
?>
">
            <div>            
            <?$phone = deformat_phone($store[0]->phone);?>
            <?$fax = deformat_phone($store[0]->fax);?>
            <?$pcode = deformat_postalcode($store[0]->postal_code);?>
            <?$provinces = provinces();?>
            <?$checked = ""; if ($store[0]->cart_active == '1') :?>
                <?$checked = "checked"?>
            <?endif?>
            <div class="Produit_liste_item"><label><?php 
echo gettext("Store id");
?>
 : </label><input type='text' id='store_id' name='store_id' value="<?php 
echo $store[0]->store_id;
?>
" /></div>
            <div class="Produit_liste_item"><label><?php 
echo gettext("Name");
?>
コード例 #2
0
ファイル: edit-user.php プロジェクト: jabouzi/belron
<div id="Container_Principale_full">
    <div id="Container_Principale_960">
        <div id="Page_haut">
            <div id="Breadcrumb"><a href="#">&nbsp;</a></div>
            <h1><?php 
echo gettext("Edit user");
?>
</h1>
        </div>
        <div id="error">               
        </div>   
        <form id="edit_user" method="post" action="<?php 
echo base_url() . "usersmanager/update/";
?>
">
            <?$phone = deformat_phone($user[0]->phone);?>
            <?$pcode = deformat_postalcode($user[0]->postal_code);?>
            <?$provinces = provinces();?>
            <?$checked = ""; if ($user[0]->active == '1') :?>
                <?$checked = "checked"?>
            <?endif?>
            <div>            
            <div class="Produit_liste_item"><label><?php 
echo gettext("Position");
?>
 : </label><input type='text' id='position' name='position' value="<?php 
echo $user[0]->position;
?>
" /></div>
            <div class="Produit_liste_item"><label><?php 
echo gettext("Last name");