本文整理汇总了PHP中https_url函数的典型用法代码示例。如果您正苦于以下问题:PHP https_url函数的具体用法?PHP https_url怎么用?PHP https_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了https_url函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
$this->config = array('start_day' => 'monday', 'show_next_prev' => TRUE, 'next_prev_url' => https_url($this->lang->lang() . '/recruiter/calendar'));
$this->config['template'] = '
<div class="table-responsive">
{table_open}<table border="0" cellpadding="0" cellspacing="0" class="table table-bordered">{/table_open}
{heading_row_start}<tr>{/heading_row_start}
{heading_previous_cell}<th><a href="{previous_url}"><span class="fa fa-arrow-left"></span></a></th>{/heading_previous_cell}
{heading_title_cell}<th colspan="{colspan}">{heading}</th>{/heading_title_cell}
{heading_next_cell}<th><a href="{next_url}"><span class="fa fa-arrow-right"></span></a></th>{/heading_next_cell}
{heading_row_end}</tr>{/heading_row_end}
{week_row_start}<tr>{/week_row_start}
{week_day_cell}<td class="days">{week_day}</td>{/week_day_cell}
{week_row_end}</tr>{/week_row_end}
{cal_row_start}<tr>{/cal_row_start}
{cal_cell_start}<td>{/cal_cell_start}
{cal_cell_content}
<div>{day}<br />{content}</div>
{/cal_cell_content}
{cal_cell_content_today}
<div class="highlight">{day}<br />{content}</div>
{/cal_cell_content_today}
{cal_cell_no_content}{day}{/cal_cell_no_content}
{cal_cell_no_content_today}<div class="highlight">{day}</div>{/cal_cell_no_content_today}
{cal_cell_blank} {/cal_cell_blank}
{cal_cell_end}</td>{/cal_cell_end}
{cal_row_end}</tr>{/cal_row_end}
{table_close}</table>{/table_close}
</div>
';
}
示例2: candidate_login
public function candidate_login()
{
$data = array('emailaddress' => $this->input->post('emailaddress'), 'password' => $this->input->post('password'));
// Step-1: Checking for email-address in login table.
$result = $this->login_database->candidatelogin($data);
if ($result == TRUE) {
// To double-confirm if the candidate completed his signup process.
$result = $this->login_database->candidate_resumeupdatecheck($this->input->post('emailaddress'));
// Step-2: Checking for email-address in signup table.
if ($result > 0) {
// Step-3: Candidate completed registration process successfully with us. So we add candidate data to session.
$this->session->set_userdata('logged_in', $this->input->post('emailaddress'));
$sess_array = array('username' => $this->input->post('emailaddress'));
$result = $this->login_database->read_user_information($sess_array, 'candidate');
$this->session->set_userdata('user_data', $result);
$candidateloginData = $this->login_database->candidatefirstlogin($this->input->post('emailaddress'));
//print_r($recruiterloginData);
if (str_replace(array("-", " ", ":"), "", $candidateloginData[0]['system_last_modified_date']) * 1 > 0) {
$redirect_url = https_url($this->lang->lang() . '/candidate_dashboard');
} else {
$redirect_url = https_url($this->lang->lang() . '/candidate/changepassword');
}
echo "success;" . $redirect_url;
} else {
// Step-3.1: Candidate did completed registration process. So we delete the candidate login data.
$this->db->where('candidate_email', $this->input->post('emailaddress'));
$this->db->delete('candidate_login');
if ($this->db->affected_rows() == 1) {
echo "failure;Your did not complete your last sign-up with us, we have removed ur data from our records. Please complete the registration process again before login.";
log_message('error', 'Your did not complete your last sign-up with us, we have removed ur data from our records. Please complete the registration process again before login.' . $this->input->post('emailaddress'));
} else {
echo "failure;You have not completed the sign-up process, please register again with us.";
log_message('error', 'You have not completed the sign-up process, please register again with us.' . $this->input->post('emailaddress'));
}
}
} else {
echo "failure;Invalid Username or Password";
log_message('error', 'Invalid Username or Password' . $this->input->post('emailaddress'));
}
}
示例3: ini_set
ini_set("session.gc_probability", 1);
// session.gc_probability는 session.gc_divisor와 연계하여 gc(쓰레기 수거) 루틴의 시작 확률을 관리합니다. 기본값은 1입니다. 자세한 내용은 session.gc_divisor를 참고하십시오.
ini_set("session.gc_divisor", 100);
// session.gc_divisor는 session.gc_probability와 결합하여 각 세션 초기화 시에 gc(쓰레기 수거) 프로세스를 시작할 확률을 정의합니다. 확률은 gc_probability/gc_divisor를 사용하여 계산합니다. 즉, 1/100은 각 요청시에 GC 프로세스를 시작할 확률이 1%입니다. session.gc_divisor의 기본값은 100입니다.
session_set_cookie_params(0, '/');
ini_set("session.cookie_domain", G5_COOKIE_DOMAIN);
@session_start();
//==============================================================================
//==============================================================================
// 공용 변수
//------------------------------------------------------------------------------
// 기본환경설정
// 기본적으로 사용하는 필드만 얻은 후 상황에 따라 필드를 추가로 얻음
$config = sql_fetch(" select * from {$g5['config_table']} ");
define('G5_HTTP_BBS_URL', https_url(G5_BBS_DIR, false));
define('G5_HTTPS_BBS_URL', https_url(G5_BBS_DIR, true));
if ($config['cf_editor']) {
define('G5_EDITOR_LIB', G5_EDITOR_PATH . "/{$config['cf_editor']}/editor.lib.php");
} else {
define('G5_EDITOR_LIB', G5_LIB_PATH . "/editor.lib.php");
}
//==============================================================================
// Mobile 모바일 설정
// 쿠키에 저장된 값이 모바일이라면 브라우저 상관없이 모바일로 실행
// 그렇지 않다면 브라우저의 HTTP_USER_AGENT 에 따라 모바일 결정
// G5_MOBILE_AGENT : config.php 에서 선언
//------------------------------------------------------------------------------
$is_mobile = false;
if (G5_USE_MOBILE) {
if ($_REQUEST['device'] == 'pc') {
$is_mobile = false;
示例4: captcha_html
$captcha_html = captcha_html();
$captcha_js = chk_captcha_js();
}
$is_dhtml_editor = false;
$is_dhtml_editor_use = false;
$editor_content_js = '';
if (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) {
$is_dhtml_editor_use = true;
}
// 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용
if ($config['cf_editor'] && $is_dhtml_editor_use && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) {
$is_dhtml_editor = true;
if (is_file(G5_EDITOR_PATH . '/' . $config['cf_editor'] . '/autosave.editor.js')) {
$editor_content_js = '<script src="' . G5_EDITOR_URL . '/' . $config['cf_editor'] . '/autosave.editor.js"></script>' . PHP_EOL;
}
}
$editor_html = editor_html('wr_content', $content, $is_dhtml_editor);
$editor_js = '';
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);
// 임시 저장된 글 수
$autosave_count = autosave_count($member['mb_id']);
include_once G5_PATH . '/head.sub.php';
@(include_once $board_skin_path . '/write.head.skin.php');
include_once './board_head.php';
$action_url = https_url(G5_BBS_DIR) . "/write_update.php";
echo '<!-- skin : ' . (G5_IS_MOBILE ? $board['bo_mobile_skin'] : $board['bo_skin']) . ' -->';
include_once $board_skin_path . '/write.skin.php';
include_once './board_tail.php';
@(include_once $board_skin_path . '/write.tail.skin.php');
include_once G5_PATH . '/tail.sub.php';
示例5: https_url
<?php
$menusettings_url = https_url($this->lang->lang() . '/site_admin/get_menusettings');
$menusettingsUpd_url = https_url($this->lang->lang() . '/site_admin/menusettings_update');
?>
<script src="/js/site_admin/siteAdmin_menuupdate.js" type="text/javascript"></script>
<style type="text/css">
.floatThead-floatContainer { left: inherit !important; }
.padTop { margin-top: 50px; }
.table td:last-child { text-align:center; }
.filters { background-color: orange; }
.filterable .panel-heading .pull-right { margin-top: -20px; }
.filterable .filters input[disabled] { text-align: left; background-color: transparent; border: none; cursor: auto; box-shadow: none; padding: 0; height: auto; }
.filterable .filters input[disabled]::-webkit-input-placeholder { color: #333; }
.filterable .filters input[disabled]::-moz-placeholder { color: #333; }
.filterable .filters input[disabled]:-ms-input-placeholder { color: #333; }
</style>
<div class="site-content" >
<div class="container page-header">
<div class="row">
<div class="col-md-6 no-padding">
<h1 class="page-title font-1"><?php
echo lang('siteadminusers.settingshdng');
?>
</h1>
</div>
<div class="col-md-6 no-padding"></div>
</div>
</div>
示例6: https_url
echo https_url($this->lang->lang() . '/recruiter/dashboard', true);
?>
"><?php
echo lang('candidateJob.breadcrumblbl1');
?>
</a>
</div>
</div>
</div>
</div>
<div class="page-content container">
<div class="row">
<div class="col-xs-12 col-md-12 col-lg-12 text-center">
<input type="button" class="button" onclick="window.location.href='<?php
echo https_url($this->lang->lang() . '/recruiter/job_edit/' . $jobnumber);
?>
'" value="Edit" />
</div>
</div><br />
<div class="row">
<div class="col-md-6">
<div class="job-description">
<table class="info-table">
<tr>
<td><strong><?php
echo lang('candidateJob.catfunclbl');
?>
:</strong></td>
<td><?php
echo $job['job_category'] . "," . $job['job_function'];
示例7: https_url
<?php
$applnIntervew_actionurl = https_url($this->lang->lang() . '/recruiter/applicant_interview_action');
?>
<script type="text/javascript" src="/js/recruiter/applicant_tracking/recruiter_applicantIntvw.js" defer="true"></script>
<script type="text/javascript" src="/js/bootstrap-datepicker.min.js" defer="true"></script>
<script src="/js/bootstrap/bootstrap-wysiwyg.js" defer="true"></script>
<script src="/js/bootstrap/jquery.hotkeys.js" defer="true"></script>
<script src="/js/bootstrap/google-code-prettify.js" defer="true"></script>
<link href="/css/bootstrap-datepicker3.min.css" rel="stylesheet"/>
<div class="vert-offset-top-5 visible-lg visible-md"></div>
<div class="vert-offset-top-10 visible-sm"></div>
<input type="hidden" id="applnInterviewAction" value="<?php
echo $applnIntervew_actionurl;
?>
" />
<div class="site-content" >
<div class="container page-header">
<div class="row">
<div class="col-md-6 no-padding">
<h1 class="page-title font-1"><?php
echo lang('applicantTrack.btnlabel2_1');
?>
</h1>
</div>
<div class="col-md-6 no-padding"></div>
</div>
</div>
<div class="page-content container">
示例8: lang
<div class="container page-header">
<div class="row">
<div class="col-md-6 no-padding">
<h1 class="page-title font-1"><?php
echo lang('siteadminusers.employerListheading');
?>
</h1>
</div>
<div class="col-md-6 no-padding">
<div class="subpage-breadcrumbs">
<a href="<?php
echo https_url($this->lang->lang() . '/site_admin/dashboard');
?>
">Home</a> / <a href="<?php
echo https_url($this->lang->lang() . '/site_admin/employer_list');
?>
">Employers</a>
</div>
</div>
</div>
</div>
<div class="page-content container">
<div class="row">
<?php
if ($employer_detail) {
foreach ($employer_detail as $job) {
$Vidresume = $job['employer_video_url'];
?>
<div class="row">
示例9: https_url
<script src="/js/jquery-1.11.2.js" defer="true"></script>
<script src="/js/bootstrap/bootstrap.min.js" defer="true"></script>
<link href="/css/bootstrap.min.css" rel="stylesheet"/>
<?php
$user_data = $this->session->userdata('user_data');
$cand_email = $user_data[0]['candidate_email'];
$cand_applyjobNum = $this->uri->segment(4);
$offerletter_url = $this->lang->lang() . '/recruiter/candidate_offerletter';
?>
<form action="<?php
echo https_url($offerletter_url);
?>
" method="post" accept-charset="utf-8" enctype="multipart/form-data" role="form" id="candidate_offerupload-form">
<div class="container">
<div class="row">
<div class="col-md-12">
<input type="hidden" name="candidate-profile-email" id="candidate-profile-email" value="<?php
echo $candidate_email;
?>
" />
<input type="hidden" name="candidate-job-number" id="candidate-job-number" value="<?php
echo $cand_applyjobNum;
?>
" />
<div class="col-md-12">
<input type="file" name="fileToUpload" id="fileToUpload"/>
<span>Max File size: 5MB</span>
</div><br />
<input value="" id="tmpVal" placeholder="iframe src value" />
<div class="col-md-12">
<button type="submit" class="btn btn-primary" id="password-btn-save">Upload</button>
示例10: lang
<img src="/images/icons/jobs.png" alt="" height="65px" />
</div>
<div class="col-xs-9 text-right">
<div class="huge"><?php
echo $this->db->count_all('jobs');
?>
</div>
<div><?php
echo lang('siteadminhome.blurblabel3');
?>
</div>
</div>
</div>
</div>
<a href="<?php
echo https_url($this->lang->lang() . '/site_admin/jobs_list');
?>
">
<div class="panel-footer">
<span class="pull-left">View Details</span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-red">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-right">
<div class="huge">0</div>
示例11: https_url
<script src="/js/jquery-1.11.2.js"></script>
<script src="/js/bootstrap/bootstrap.min.js"></script>
<link href="/css/bootstrap.min.css" rel="stylesheet"/>
<link href="/css/style.css" rel="stylesheet"/>
<link href="/css/responsive.css" rel="stylesheet"/>
<?php
$recruiter_email = $this->session->userdata('recruiter_login');
$profilepicupd_url = $this->lang->lang() . '/recruiter/recruiter_corporatelogpicupdate';
?>
<form action="<?php
echo https_url($profilepicupd_url);
?>
" method="post" accept-charset="utf-8" enctype="multipart/form-data" role="form">
<input type="hidden" name="employer-profile-email" id="employer-profile-email" value="<?php
echo $recruiter_email;
?>
" />
<input type="file" name="fileToUpload" id="fileToUpload"/>
<span>Allowed File extensions (*.jpg, *.jpeg, *.png), Max File size: 1MB</span><br /><br />
<button type="submit" class="button" id="password-btn-save">Upload</button>
</form>
示例12: https_url
<div class="col-md-6 no-padding">
<h1 class="page-title font-1">Add item <?php
echo $tblName;
?>
</h1>
</div>
<div class="col-md-6 no-padding">
<div class="subpage-breadcrumbs">
<a href="<?php
echo https_url($this->lang->lang() . '/site_admin/dashboard');
?>
"><?php
echo lang('home.index');
?>
</a> / <a href="<?php
echo https_url($this->lang->lang() . '/site_admin/dropdown_settings');
?>
"><?php
echo lang('siteadminusers.settingslabel3');
?>
</a>
</div>
</div>
</div>
</div>
<div class="page-content container">
<div class="row">
<table class="table table-striped">
<tbody>
<form action="" method="post">
示例13: trim
include_once '../../common.php';
include_once G5_ADMIN_PATH . '/apms_admin/apms.admin.lib.php';
if (isset($_REQUEST['sort'])) {
$sort = trim($_REQUEST['sort']);
$sort = preg_replace("/[\\<\\>\\'\"\\\\'\\\"\\%\\=\\(\\)\\s]/", "", $sort);
} else {
$sort = '';
}
if (isset($_REQUEST['sortodr'])) {
$sortodr = preg_match("/^(asc|desc)\$/i", $sortodr) ? $sortodr : '';
} else {
$sortodr = '';
}
if (!defined('G5_USE_SHOP') || !G5_USE_SHOP) {
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
}
define('_SHOP_', true);
define('IS_SHOP', true);
define('APMS_PARTNER_DIR', G5_SHOP_DIR . '/partner');
define('APMS_PARTNER_PATH', G5_PATH . '/' . APMS_PARTNER_DIR);
define('APMS_PARTNER_URL', G5_URL . '/' . APMS_PARTNER_DIR);
define('APMS_PARTNER_HTTPS_URL', https_url(APMS_PARTNER_DIR, true));
if (!defined('THEMA_PATH')) {
include_once G5_LIB_PATH . '/apms.thema.lib.php';
}
// Skin
if (!$apms['apms_skin']) {
$apms['apms_skin'] = 'Basic';
}
$skin_path = APMS_PARTNER_PATH . '/skin/' . $apms['apms_skin'];
$skin_url = APMS_PARTNER_URL . '/skin/' . $apms['apms_skin'];
示例14: https_url
<div class="row">
<div class="col-md-12 col-lg-12">
<?php
$login = $this->session->userdata('logged_in');
?>
<form method="post" accept-charset="utf-8" role="form" id="joborderform" class="form-horizontal">
<input type="hidden" id="inputEmail" name="inputEmail" value="<?php
echo $login;
?>
" />
<input type="hidden" id="inputClientUsrCreateURL" name="inputClientUsrCreateURL" value="<?php
echo https_url($clientusrcreateURL);
?>
" />
<input type="hidden" id="inputClientredirectURL" name="inputClientredirectURL" value="<?php
echo https_url($clientusrredirectURL);
?>
" />
<div class="row">
<div class="col-md-3">
<label for="inputRecruiterName"><?php
echo lang('siteadminusers.recruitername');
?>
<font color="red" size="4px">*</font> </label>
</div>
<div class="col-md-9">
<input type="text" id="inputRecruiterName" name="inputRecruiterName" placeholder="<?php
echo lang('siteadminusers.recruitername');
?>
" required autofocus>
示例15: logout
public function logout()
{
// Removing session data
redirect(https_url($this->lang->lang() . '/recruiter'));
}