Üye Olma Sayfasındaki Hata

matias000

OpenCart-TR
Katılım
26 Tem 2011
Mesajlar
2
Tepkime puanı
0
Puanları
0
Register sayfam ekte görüldüğü üzere hata var. Dosyanın sıfır haline attım yine olmadı. Dosya kodları aşağıdaki şekilde o bölümü nasıl düzeltebilirim?

Kod:
<table class="form">
        <tr>
          <td><input type="text" name="company" value="<?php echo $entry_company; ?>"  onfocus="if(this.value=='<?php echo $entry_company; ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo $entry_company; ?>';" /></td>
        </tr>     
        <tr style="display: <?php echo (count($customer_groups) > 1 ? 'table-row' : 'none'); ?>;">
          <td><?php echo $entry_customer_group; ?></td>
          <td><select name="customer_group_id">
              <?php foreach ($customer_groups as $customer_group) { ?>
              <?php if ($customer_group['customer_group_id'] == $customer_group_id) { ?>
              <option value="<?php echo $customer_group['customer_group_id']; ?>" selected="selected"><?php echo $customer_group['name']; ?></option>
              <?php } else { ?>
              <option value="<?php echo $customer_group['customer_group_id']; ?>"><?php echo $customer_group['name']; ?></option>
              <?php } ?>
              <?php } ?>
            </select></td>
        </tr>         
        <tr id="company-id-display">
          <td><input type="text" name="company_id" value="<?php echo $entry_company_id; ?>"  onfocus="if(this.value=='<?php echo $entry_company_id; ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo $entry_company_id; ?>';" />
            <?php if ($error_company_id) { ?>
            <span class="error"><?php echo $error_company_id; ?></span>
            <?php } ?></td> <td><span id="company-id-required" class="required">*</span></td>
        </tr>
        <tr id="tax-id-display">
          <td><span id="tax-id-required" class="required">*</span> <?php echo $entry_tax_id; ?></td>
            <td><input type="text" name="tax_id" value="<?php echo $tax_id; ?>" />
            <?php if ($error_tax_id) { ?>
            <span class="error"><?php echo $error_tax_id; ?></span>
            <?php } ?></td>
        </tr>
        <tr>
          <td><input type="text" name="address_1" value="<?php echo $entry_address_1; ?>"  onfocus="if(this.value=='<?php echo $entry_address_1; ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo $entry_address_1; ?>';" />
            <?php if ($error_address_1) { ?>
            <span class="error"><?php echo $error_address_1; ?></span>
            <?php } ?></td>
          <td><span class="required">*</span></td>
        </tr>
        <tr>
          <td><input type="text" name="address_2" value="<?php echo $entry_address_2; ?>"  onfocus="if(this.value=='<?php echo $entry_address_2; ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo $entry_address_2; ?>';" /></td>
        </tr>
        <tr>
          <td><input type="text" name="city" value="<?php echo $entry_city; ?>"  onfocus="if(this.value=='<?php echo $entry_city; ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo $entry_city; ?>';" />
            <?php if ($error_city) { ?>
            <span class="error"><?php echo $error_city; ?></span>
            <?php } ?></td>
          <td><span class="required">*</span></td>
        </tr>
        <tr>
          <td><input type="text" name="postcode" value="<?php echo $entry_postcode; ?>"  onfocus="if(this.value=='<?php echo $entry_postcode; ?>') this.value='';" onblur="if(this.value=='') this.value='<?php echo $entry_postcode; ?>';" />
            <?php if ($error_postcode) { ?>
            <span class="error"><?php echo $error_postcode; ?></span>
            <?php } ?></td>
          <td><span id="postcode-required" class="required">*</span></td>
        </tr>
        <tr>
         
          <td><select name="country_id">
              <option value=""><?php echo $text_select; ?></option>
              <?php foreach ($countries as $country) { ?>
              <?php if ($country['country_id'] == $country_id) { ?>
              <option value="<?php echo $country['country_id']; ?>" selected="selected"><?php echo $country['name']; ?></option>
              <?php } else { ?>
              <option value="<?php echo $country['country_id']; ?>"><?php echo $country['name']; ?></option>
              <?php } ?>
              <?php } ?>
            </select>
            <?php if ($error_country) { ?>
            <span class="error"><?php echo $error_country; ?></span>
            <?php } ?></td> <td><span class="required">*</span> </td>
        </tr>
        <tr>
          <td><select name="zone_id">
            </select>
            <?php if ($error_zone) { ?>
            <span class="error"><?php echo $error_zone; ?></span>
            <?php } ?></td>
          <td><span class="required">*</span></td>
        </tr>
      </table>
    </div>
 

Ekli dosyalar

  • register.PNG
    register.PNG
    30.3 KB · Görüntüleme: 2
Üst