Example #1
0
    ?>
</strong></label>
            <input style="background:2px center url(<?php 
    echo base_url();
    ?>
assets/images/icons/user_16.png) no-repeat transparent; padding-left:22px" type="text" id="username" name="username">
            <label for="password"><strong><?php 
    echo lang('Password:');
    ?>
</strong></label>
            <input style="background:2px center url(<?php 
    echo base_url();
    ?>
assets/images/other/key_16.png) no-repeat transparent; padding-left:22px" type="password" id="password" name="password"><br><br>
            <?php 
    echo generate_submit_button(lang('Login'), base_url() . 'assets/images/icons/log_in_16.png', 'green');
    ?>
<br>
          </p>
        </form>
        <ul class="sidemenu">
          <li>
            <a href="<?php 
    echo site_url('user/forgot_password');
    ?>
">
              <img src="<?php 
    echo base_url();
    ?>
assets/images/icons/help_16.png" class="nb" alt=""> <?php 
    echo lang('Forgot your password?');
    } else {
        $masterline = $line['master'];
    }
    echo '<tr valign="top">';
    echo '<td>' . htmlspecialchars($key) . '</td>';
    echo '<td>' . htmlspecialchars($masterline) . '</td>';
    $data = array('name' => $post_uniquifier . $key, 'value' => $line['slave'], 'size' => '40', 'style' => 'margin-top:12px;');
    if (mb_strlen($line['slave']) < 40) {
        echo '<td>' . form_input($data);
    } else {
        $data['cols'] = 40;
        $data['rows'] = 12;
        echo '<td>' . form_textarea($data);
    }
    if (strlen($line['error']) > 0) {
        echo '<br /><span class="translator_error">' . $line['error'] . '</span>';
    }
    if (strlen($line['note']) > 0) {
        echo '<br /><span class="translator_note">' . $line['note'] . '</span>';
    }
    echo '</td>';
    echo '</tr>';
}
?>

</table>

<?php 
echo form_hidden('save_lang', 'Save');
echo generate_submit_button(lang('Save Changes'), base_url() . 'assets/images/icons/save_16.png') . '<br /></p>';
echo form_close();
Example #3
0
        ?>
              <tr>
                <td><?php 
        echo anchor('files/get/' . $file->file_id . '/' . $file->link_name, $file->o_filename, array('target' => '_blank'));
        ?>
</td>
                <td><?php 
        echo $this->functions->get_filesize_prefix($file->size);
        ?>
</td>
                <td>
                  <input type="checkbox" class="filec" value="<?php 
        echo $file->file_id;
        ?>
" name="files[]"> <?php 
        echo lang('Add?');
        ?>
                </td>
              </tr>
<?php 
    }
    ?>
              <?php 
    echo generate_submit_button(lang('Create Gallery'), base_url() . 'assets/images/icons/new_16.png');
    ?>
<br>
            </table>
          </p>
        </form>
<?php 
}
?>
" size="20">
          <input type="hidden" name="ftp_port" value="<?php 
echo $this->input->post('ftp_port') ? $this->input->post('ftp_port') : '21';
?>
" size="7">
          <input type="hidden" name="ftp_path" value="<?php 
echo $this->input->post('ftp_path');
?>
" size="50">
          <input type="hidden" name="random" value="<?php 
$rand = mt_rand(111, 999);
echo $rand;
?>
" size="50">
          <h3><?php 
echo lang('Confirm Software Install');
?>
</h3>
          <p><?php 
echo lang('We have confirmed a working FTP connection to the server you specified. Please click the button below to confirm that you want to install server software on this server.');
?>
</p>
          <p>
            <?php 
echo generate_submit_button(lang('Install Server Software'), base_url() . 'assets/images/icons/ok_16.png');
?>
<br>
          </p>
        </form>
Example #5
0
<?php

echo form_open('admin/translator', '', $hidden);
?>

<table>

<?php 
echo '<tr>';
echo '<td class="translator_table_header">' . lang('Key') . '</td>';
echo '<td class="translator_table_header"><strong>' . ucwords($master_lang) . '</strong></td>';
echo '<td class="translator_table_header">' . ucwords($slave_lang) . '</td>';
echo '</tr>';
foreach ($module_data as $key => $line) {
    echo '<tr>';
    echo '<td>' . $key . '</td>';
    echo '<td>' . htmlspecialchars($line['master']) . '</td>';
    echo '<td>' . htmlspecialchars($line['slave']) . '</td>';
    echo '</tr>';
}
?>

</table>

<?php 
echo form_hidden('confirm_save_lang', 'Confirm');
echo generate_submit_button(lang('Confirm Changes'), base_url() . 'assets/images/icons/ok_16.png', 'green') . '<br /></p>';
echo form_close();
Example #6
0
$groups = $this->db->get('groups');
foreach ($groups->result() as $group) {
    ?>
              <option value="<?php 
    echo $group->id;
    ?>
"><?php 
    echo $group->name;
    ?>
</option>
<?php 
}
?>
            </select><br>
            <label><?php 
echo lang('Subject');
?>
</label>
            <input type="text" size="60" name="subject"><br>
            <label><?php 
echo lang('Message');
?>
</label>
            <textarea name="msg" cols="60" rows="10"></textarea><br>
            <?php 
echo generate_submit_button('Send Emails', base_url() . 'assets/images/icons/ok_16.png', 'green');
?>
<br><br>
          </p>
        </form>
Example #7
0
" size="50"><br>
          <label style="font-weight:bold" for="passconf"><?php 
echo lang('Password Confirmation');
?>
</label>
          <input type="password" class="required remove_title" name="passconf" value="<?php 
echo set_value('passconf');
?>
" size="50"><br><br>
          <label style="font-weight:bold" for="captcha"><?php 
echo lang('Security Test - Type the letters you see below:');
?>
</label>
          <?php 
echo $captcha;
?>
<br>
          <input type="text" class="required remove_title" name="captcha"><br><br>
          <?php 
echo generate_submit_button(lang('Submit Registration'), base_url() . 'assets/images/other/user-add_16.png');
?>
<br>
        </form>
        <script type="text/javascript">
          //<![CDATA[
          $(document).ready(function(){
            $("#user_reg").validate();
          });
          //--]]>
        </script>
Example #8
0
?>
">
          <h3><?php 
echo lang('Add Shortcut');
?>
</h3>
          <p>
            <label for="title"><?php 
echo lang('Name');
?>
</label>
            <input type="text" name="title" value="<?php 
echo $title;
?>
">
            <label for="link"><?php 
echo lang('Link');
?>
</label>
            <input type="text" name="link" value="<?php 
echo $link;
?>
">
            <br><br>
            <?php 
echo generate_submit_button(lang('Add'), base_url() . 'assets/images/icons/add_16.png');
?>
<br>
          </p>
        </form>
Example #9
0
" id="<?php 
        echo $name;
        ?>
" value="<?php 
        echo $set[$name];
        ?>
"><br><br>
<?php 
    } elseif ($type == 'box') {
        ?>
          <textarea rows="8" cols="40" name="<?php 
        echo $name;
        ?>
" id="<?php 
        echo $name;
        ?>
" ><?php 
        echo $set[$name];
        ?>
</textarea><br><br>
<?php 
    }
}
?>
          <input type="hidden" name="valid" value="yes">
          <?php 
echo generate_submit_button(lang('Update'), base_url() . 'assets/images/icons/ok_16.png', 'green');
?>
<br>
        </form>
Example #10
0
              <a href="javascript:;" onclick="getNewCaptcha()">
                <img class="nb" title="<?php 
    echo lang('Get New Captcha');
    ?>
" src="<?php 
    echo base_url();
    ?>
assets/images/icons/refresh_16.png" alt="">
              </a><br>
              <input type="text" size="3" maxlength="3" name="captcha">
            </code><br>
<?php 
}
?>
            <?php 
echo generate_submit_button(lang('Download'), base_url() . 'assets/images/icons/backup_16.png', 'green');
if ($image) {
    ?>
            <?php 
    echo generate_link_button(lang('View This Image'), $image['direct_url'], base_url() . 'assets/images/icons/pictures_16.png', null, array('target' => '_blank'));
}
?>
            <br>
          </span>
        </div>
      </form>
<?php 
/*File Page Hooks*/
$this->xu_api->hooks->run_hooks('files::get::add_section::after_download', null);
?>
      <script type="text/javascript">
Example #11
0
            <textarea name="<?php 
        echo $name;
        ?>
" rows="4" cols="40"></textarea>
<?php 
    } else {
        ?>
            <input type="text" name="<?php 
        echo $name;
        ?>
" size="50"><br>
<?php 
    }
    ?>
            <span style="display:none; text-decoration:underline; font-weight:bold" id="d_<?php 
    echo $name;
    ?>
"><?php 
    echo $real_descr[$name];
    ?>
</span><br><?php 
}
?>
            <br>
            <?php 
echo generate_submit_button(lang('Add New Group'), base_url() . 'assets/images/icons/add_16.png', 'green');
?>
            <br>
          </p>
        </form>
Example #12
0
            <label><?php 
echo lang('FTP Password');
?>
</label>
            <input type="password" name="ftp_pass" value="<?php 
echo $this->input->post('ftp_pass');
?>
" size="20"><br>
            <label><?php 
echo lang('FTP Port');
?>
</label>
            <input type="text" name="ftp_port" value="<?php 
echo $this->input->post('ftp_port') ? $this->input->post('ftp_port') : '21';
?>
" size="7"><br>
            <label><?php 
echo lang('FTP Path to install location');
?>
</label>
            <input type="text" name="ftp_path" value="<?php 
echo $this->input->post('ftp_path');
?>
" size="50"><br><br>
            <?php 
echo generate_submit_button(lang('Validate FTP Settings'), base_url() . 'assets/images/icons/ok_16.png');
?>
<br>
          </p>
        </form>
<?php

/* Forms */
echo form_open('admin/translator', '', $hidden);
echo '<p>';
echo form_label(lang('Select Your Language Segement'), 'lang_module');
foreach ($master_modules as $master_module) {
    echo form_radio('lang_module', $master_module) . ' ' . ucwords($master_module) . '<br />';
}
echo '<br />';
echo generate_submit_button(lang('Next Step'), $base_url . 'assets/images/icons/forward_16.png', 'green') . '<br /></p>';
echo form_close();
Example #14
0
?>
" size="50"><br>
            <label><?php 
echo lang('Server URL');
?>
</label>
            <input type="text" name="url" value="<?php 
echo $server->url;
?>
" size="50"><br>
            <label><?php 
echo lang('Is Active?');
?>
</label>
<?php 
$checked = $server->status ? ' checked="checked"' : '';
?>
            <input type="checkbox" name="status"<?php 
echo $checked;
?>
 value="1"> <?php 
echo lang('Yes');
?>
<br><br>
            <?php 
echo generate_submit_button(lang('Submit Changes'), base_url() . 'assets/images/icons/ok_16.png');
?>
<br>
          </p>
        </form>
Example #15
0
</label>
            <input type="text" name="pass" value="<?php 
echo $file->pass;
?>
">
            <label for="descr"><?php 
echo lang('File Description');
?>
</label>
            <textarea name="descr" cols="60" rows="6"><?php 
echo $file->descr;
?>
</textarea>
            <label for="featured"><?php 
echo lang('Featured?');
?>
</label>
<?php 
$checked = $file->feature ? ' checked="checked"' : "";
?>
            <input type="checkbox"<?php 
echo $checked;
?>
 name="feature" value="1">
            <br><br>
            <?php 
echo generate_submit_button(lang('Edit'), base_url() . 'assets/images/icons/edit_16.png');
?>
          </p>
        </form>
Example #16
0
?>
" method="post">
          <input type="hidden" name="posted" value="true">
          <h3><?php 
echo lang('Update Profile');
?>
</h3>
          <p>
            <label style="font-weight:bold" for="username"><?php 
echo lang('Username');
?>
</label>
            <input type="text" name="username" value="<?php 
echo set_value('username');
?>
" size="50"><br><br>
            <label style="font-weight:bold" for="passconf"><?php 
echo lang('Email Address');
?>
</label>
            <input type="text" name="email" value="<?php 
echo set_value('email');
?>
" size="50"><br><br>
            <?php 
echo generate_submit_button(lang('Get New Password'), base_url() . 'assets/images/icons/security_16.png');
?>
<br>
          </p>
        </form>
?>
        <form action="<?php 
echo site_url('files/get/' . $file->file_id . '/' . $file->link_name);
?>
" method="post">
          <h3 id="dlhere"><?php 
echo lang('Enter File Password');
?>
</h3>
          <p>
            <?php 
echo lang('This file has been password protected by the uploader. You must provide the correct password to download this file.');
?>
 
            <code>
              <label style="font-weight:bold" for="pass"><?php 
echo lang('File Password:');
?>
</label>
              <input style="background: url('<?php 
echo base_url();
?>
assets/images/icons/security_16.png') 2px center no-repeat; padding-left:20px;" type="text" size="40" maxlength="32" name="pass"><br><br>
              <?php 
echo generate_submit_button(lang('Unlock File'), base_url() . 'assets/images/icons/security_16.png', 'green');
?>
<br>
            </code>
          </p>
        </form>