当前位置: 首页>>代码示例>>PHP>>正文


PHP getLicense函数代码示例

本文整理汇总了PHP中getLicense函数的典型用法代码示例。如果您正苦于以下问题:PHP getLicense函数的具体用法?PHP getLicense怎么用?PHP getLicense使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getLicense函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: F10984563791DEB243A5DC2A8AC17FB84

function F10984563791DEB243A5DC2A8AC17FB84($RD7A9632D7A0B3B4AC99AAFB2107A2613)
{
    if (F12DE84D0D1210BE74C53778CF385AA4D($RD7A9632D7A0B3B4AC99AAFB2107A2613)) {
        return true;
    }
    $RD7A9632D7A0B3B4AC99AAFB2107A2613 = FC718EAC1D5F164063CBA5FB022329FC7($RD7A9632D7A0B3B4AC99AAFB2107A2613);
    $RB5719367F67DC84F064575F4E19A2606 = getLicense();
    $RFDFD105B00999E2642068D5711B49D5D = substr($RD7A9632D7A0B3B4AC99AAFB2107A2613, 0, 3);
    $RA6CC906CDD1BAB99B7EB044E98D68FAE = substr($RD7A9632D7A0B3B4AC99AAFB2107A2613, -3, 3);
    $R8439A88C56A38281A17AE2CE034DB5B7 = substr($RB5719367F67DC84F064575F4E19A2606, 0, 3);
    $R254A597F43FF6E1BE7E3C0395E9409D4 = substr($RB5719367F67DC84F064575F4E19A2606, 3, 3);
    $RDE2A352768EABA0E164B92F7ACA37DEE = substr($RB5719367F67DC84F064575F4E19A2606, -3, 3);
    $R254A597F43FF6E1BE7E3C0395E9409D4 = FCE67EB692054EBB3F415F8AF07562D82($R254A597F43FF6E1BE7E3C0395E9409D4, 3);
    $RDE2A352768EABA0E164B92F7ACA37DEE = FCE67EB692054EBB3F415F8AF07562D82($RDE2A352768EABA0E164B92F7ACA37DEE, 3);
    $R705EE0B4D45EEB1BC55516EB53DF7BCE = array('A' => 1, 'B' => 2, 'C' => 3, 'D' => 4, 'E' => 5, 'F' => 6, 'G' => 7, 'H' => 8, 'I' => 9, 'J' => 10, 'K' => 11, 'L' => 12, 'M' => 13, 'N' => 14, 'O' => 15, 'P' => 16, 'Q' => 17, 'R' => 18, 'S' => 19, 'T' => 20, 'U' => 21, 'V' => 22, 'W' => 23, 'X' => 24, 'Y' => 25, 'Z' => 26, '1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9, '0' => 0);
    $RA7B9A383688A89B5498FC84118153069 = strlen($RD7A9632D7A0B3B4AC99AAFB2107A2613);
    $RA5694D3559F011A29A639C0B10305B51 = 0;
    for ($RA09FE38AF36F6839F4A75051DC7CEA25 = 0; $RA09FE38AF36F6839F4A75051DC7CEA25 < $RA7B9A383688A89B5498FC84118153069; $RA09FE38AF36F6839F4A75051DC7CEA25++) {
        $RF5687F6BBE9EC10202A32FA6C037D42B = substr($RD7A9632D7A0B3B4AC99AAFB2107A2613, $RA09FE38AF36F6839F4A75051DC7CEA25, 1);
        $RA5694D3559F011A29A639C0B10305B51 = $RA5694D3559F011A29A639C0B10305B51 + $R705EE0B4D45EEB1BC55516EB53DF7BCE[$RF5687F6BBE9EC10202A32FA6C037D42B];
    }
    if ($RA5694D3559F011A29A639C0B10305B51 != $R8439A88C56A38281A17AE2CE034DB5B7 - 25) {
        return false;
    } else {
        if (strcmp($RFDFD105B00999E2642068D5711B49D5D, $R254A597F43FF6E1BE7E3C0395E9409D4) != 0) {
            return false;
        } else {
            if (strcmp($RA6CC906CDD1BAB99B7EB044E98D68FAE, $RDE2A352768EABA0E164B92F7ACA37DEE) != 0) {
                return false;
            } else {
                return true;
            }
        }
    }
}
开发者ID:ACSAUruguay,项目名称:helpdesk,代码行数:35,代码来源:searchticketwithoutloggingin.php

示例2: getLicense

    <p>Als jij een bijdrage wil leveren, voel je vrij om met ons contact op te nemen!</p>
    <p>Een grote DANK U aan deze medewerkers en allen die aan het project meewerkten/werken</p>
  </div>
  
  <div id="license_s" onclick="JavaScript:switchMe('license');" class="div_switcher_c">
    <ul>
      <li><span class="title">Wat zijn de voorwaarden voor het gebruik van de gegevens?</span></li>
    </ul>
  </div>
  <div id="license" style="display:none;visibility:hidden;" class="content" >
    <p><?php 
        echo $_SESSION['Application_name'];
        ?>
 is op geen enkel wijze verbonden met politiek en heeft ook geen intenties in die richting. De website bevat elementen die door internationale verdragen beschermd zijn.</p>
    <p><?php 
        echo getLicense(1);
        ?>
</p>
  </div>
  
  <div id="sensitive_s" onclick="JavaScript:switchMe('sensitive');" class="div_switcher_c">
    <ul>
      <li><span class="title">Hoe een gevoelige grot toevoegen?</span></li>
    </ul>
  </div>
  <div id="sensitive" style="display:none;visibility:hidden;" class="content" >
    <p>Als je een gevoelige grot wil toevoegen heb je twee mogelijkheden afhankelijk van de gewenste bescherming.</p>
    <ul><li>De grot is gemakkelijk toegankelijk en je wil over-bezoek door niet-speleologen vermijden.<br />
    In dit geval kies in menu Ingangen, Nieuw, Aanmaken/Wijzigen de mogelijkheid "Geregistreerd (gevoelige grot/of gereglementeerde toegang) als je de grot toevoegt.<br />
    Op deze manier is de grot enkel zichtbaar voor aangemelde gebruikers.</li>
    <li>De grot wordt als zeer gevoelig beschouwd  (concreties, archeologie, paleontology, etc.) en de toegang door niet-speleologen is uitgesloten.<br />
开发者ID:GrottoCenter,项目名称:GrottoCenter,代码行数:31,代码来源:home_description.php

示例3: emptyCheck

							
			  <div align="center" class="license_box">
									<img src="../images/welcome_box_top.gif" alt="" width="645" />
									<div align="center" class="license_txt_area">
											
						<form name=frmLicense method=post action="<?php 
echo $_SERVER["PHP_SELF"];
?>
" onSubmit="return emptyCheck();">
							<table width="87%"  border="0" cellspacing="0" cellpadding="5" class="listing_user">
								<tr><td align="center" colspan="3" class="text_information"><?php 
echo $message;
?>
</td></tr>
								<tr><td align="center" colspan="3" class="maintext">Invalid License (<?php 
echo getLicense();
?>
).<br> Please contact <b>support@iscripts.com</b></td></tr>
								<tr>
									<td align="center" colspan="3">Click <a href="javascript: enterNewKey();">here</a> to enter new key
									</td>
								</tr>						
								<tr id="adminpass" style="display:none;">
									<td width="44%" align="right" class="maintext">Admin password</td>
									<td width="20%" align="left">
										<input name="txtAdminPass"  id="txtAdminPass" type="text" class="textbox" size="25" maxlength="40" value="<?php 
echo htmlentities($txtAdminPass);
?>
">
									</td>
									<td width="20%" align="left">&nbsp;</td>
开发者ID:kevinsmasters,项目名称:purecatskillsmarketplace,代码行数:30,代码来源:invalidlicense.php

示例4: parseComment

/** COMMENT 파싱
 * @class view
 * @param
		$data: DB 데이터
		$ret: return 모드
 * @return 
 */
function parseComment(&$data, $ret = 0)
{
    global $mini;
    // 외부 게시판 설정 적용
    $board_data = !empty($mini['board_data']) ? $mini['board_data'] : $mini['board'];
    // decode
    if (!empty($data)) {
        foreach ($data as $key => $val) {
            str($data[$key], 'decode');
        }
    }
    // 추가필드
    iss($data['field']);
    if ($data['field']) {
        $data['field'] = unserialize($data['field']);
        if (is_array($data['field'])) {
            ksort($data['field']);
        }
    }
    // 링크
    iss($data['link']);
    if ($data['link']) {
        $data['link'] = unserialize($data['link']);
    }
    // 권한 뽑음
    $data['permit_comment'] = getPermit("name:comment");
    $data['permit_handle'] = !empty($mini['member']['level_admin']) || !empty($data['target_member']) && !empty($mini['log']) && $data['target_member'] == $mini['member']['no'] || empty($data['target_member']) && empty($mini['log']);
    // depth
    iss($data['parent']);
    $data['depth'] = count(getStr($data['parent']));
    // 필수 스킨요소
    $data['skin'] = array('id' => "tableRowsCmt_{$data['no']}", 'tool' => "cmtTools_{$data['no']}", 'write' => "write_comment{$data['no']}");
    // 이름
    parseName($data);
    // 번호
    $data['view_no'] = $board_data['use_view_no'] ? !empty($data['parent']) ? "{$data['num']}-" : $data['num'] : $data['no'];
    // 관리자 체크박스
    $data['checkbox'] = !empty($mini['member']['level_admin']) ? "<input type='checkbox' name='no[]' value='{$data['no']}' class='middle' />" : "";
    // 날짜
    $data['time'] = strtotime($data['date']);
    $data['date_out'] = date($board_data['date_comment'], $data['time']);
    $data['date_str'] = $mini['time'] - $data['time'] < $mini['set']['date_str'] * 86400 ? dateSec($mini['time'] - $data['time']) . "전" : "";
    $data['date_simple'] = date("H:i", $data['time']);
    // 태그
    if ($data['tag']) {
        $data['tag'] = getStr($data['tag']);
    }
    // 내용
    if (!empty($data['ment']) && !empty($data['autobr'])) {
        $data['ment'] = nl2br($data['ment']);
    }
    $data['ment'] = str_replace("<br /><!--n-->", "\n", $data['ment']);
    if (strpos($data['ment'], "<pre title='code'") !== false) {
        $mini['is_syntax'] = 1;
    }
    // 트랙백
    if (!empty($data['trackback'])) {
        $data['trackback'] = amp($data['trackback'], 'encode');
    }
    // 파일
    $data['is_file'] = 0;
    if (!empty($data['file'])) {
        unset($file);
        $file = sql("\n\t\t\t\tq: SELECT * FROM {$mini['name']['file']} WHERE " . sqlSel($data['file']) . "\n\t\t\t\tmode: array\n\t\t\t");
        if (!empty($file)) {
            $data['is_file'] = 1;
            $data['file_data'] = array();
            // 파일 링크 만들기
            foreach ($file as $key => $val) {
                $tmp_no = $key + 1;
                $data["url_file{$tmp_no}"] = "{$mini['dir']}download.php?mode=view&amp;no={$val['no']}";
                $data["link_file{$tmp_no}"] = "href='{$mini['dir']}download.php?no={$val['no']}'";
                $data['file_data'][$tmp_no] = parseFile($val, 1);
            }
            unset($file);
        }
    }
    // 경고
    if (!empty($data['alert']) && !empty($board_data['use_alert'])) {
        $data['ment'] = "<div class='alertDiv'>경고(!) 클릭하시면 내용이 펼쳐집니다. 위험한 내용이나 스포일러성 내용이 포함되어 있을 수 있습니다.</div><span style='display:none;'>{$data['ment']}</span>";
    }
    // 라이센스 처리
    if (!empty($data['license'])) {
        $data['license_out'] = getLicense($data['license']);
    }
    // 수정 시간제한
    if (!empty($board_data['limit_edit_comment']) && empty($mini['member']['level_admin'])) {
        if (strtotime($data['date']) + $board_data['limit_edit_comment'] * 60 >= $mini['time']) {
            $data['edit_left'] = dateSec($board_data['limit_edit_comment'] * 60 - ($mini['time'] - strtotime($data['date'])));
        }
    }
    // 글쓴이가 쓴 댓글 처리
    $data['is_writer'] = !empty($data['target_member']) && !empty($mini['skin']['view']['target_member']) && $data['target_member'] == $mini['skin']['view']['target_member'];
//.........这里部分代码省略.........
开发者ID:bluecat,项目名称:iiwork-php,代码行数:101,代码来源:temp.php

示例5: stream_context_create

$context = stream_context_create($opts);
$licenses = array();
for ($m = 0; $m < 2; $m++) {
    if ($m === 0) {
        $mTime = $now;
    } else {
        $mTime = strtotime("-1 month", $mTime);
    }
    $parts = explode('/', date('Y/m', $mTime));
    for ($i = 1; $i <= 7; $i++) {
        $reportUrl = "http://www.fda.gov.tw/MLMS/H0008_0{$i}.aspx?Year={$parts[0]}&Month={$parts[1]}&Bigknd=";
        $page = file_get_contents($reportUrl, false, $context);
        $lines = explode('</tr>', $page);
        array_shift($lines);
        foreach ($lines as $line) {
            $cols = explode('&amp;LicId=', $line);
            if (count($cols) === 2) {
                $licenseId = substr($cols[1], 0, strpos($cols[1], '"'));
                $licenses[$licenseId] = $licenseId;
            }
        }
    }
}
$count = count($licenses);
$n = 0;
foreach ($licenses as $code) {
    if (++$n % 50 === 0) {
        echo "getting {$n} / {$count}\n";
    }
    getLicense($code, false);
}
开发者ID:pombredanne,项目名称:tfda_license,代码行数:31,代码来源:reports.php

示例6: getLicense

?>
.dat&amp;dd=C&amp;display=counter&amp;ft=0&amp;negate=T" style="height:12px;vertical-align:middle;" alt="Compteur" /> <convert>#label=27<convert>visites -->
    		</td>
  		</tr>
  		<tr>
        <td class="bannerCell4">
          
        </td>
        <td class="bannerCell5">
          
        </td>
      </tr>
      <tr>
        <td class="bannerCell4">
          <?php 
echo getLicense(4);
//getLicensePicture(3);
?>
 <a href="JavaScript:openLegalNPrivacy('<?php 
echo $_SESSION['language'];
?>
');"><convert>#label=3<convert><!--Mentions légales &amp; Charte de confidentialité--></a>
  			</td>
  			<td class="bannerCell5">
      			<div class="banner_fse">
      			   <a href="http://eurospeleo.org/" target="_blank"><convert>#label=931<convert><!-- Grottocenter bénéficie du soutien de la FSE --> <img src="../images/icons/fse-logo.png" alt="Logo FSE" /></a>
      			</div>
<?php 
if ($_SESSION['home_page'] == "overview") {
    ?>
              <div class="banner_info">
开发者ID:GrottoCenter,项目名称:GrottoCenter,代码行数:31,代码来源:banner.php

示例7: license_check

function license_check()
{
    global $gbl, $sgbl, $login, $ghtml;
    // Don't check for license if you are currently doing license management.
    if (csb($ghtml->frm_action, 'update') && $ghtml->frm_subaction === 'license') {
        return;
    }
    if ($gbl->getSessionV('__v_not_first_time')) {
        return;
    }
    // First time;
    dprint("First time");
    $time = getLicense('lic_expiry_date');
    $iip = getLicense('lic_ipaddress');
    $ipdb = new Sqlite(null, 'ipaddress');
    $iplist = $ipdb->getRowsWhere("syncserver = 'localhost'", array('ipaddr'));
    $match = false;
    // Lack of ip should give a warning. Or allow people to reread the ip address.
    foreach ((array) $iplist as $ip) {
        if ($ip['ipaddr'] === $iip) {
            $match = true;
        }
    }
    $time = intval($time);
    if ($time < time()) {
        $mess = "License Expired";
        print '<br> <br> <br> <br> <br> ';
        print $mess;
        if ($login->isAdmin()) {
            do_updateform($login, "license");
        }
        exit;
    }
    if ($login->isAdmin()) {
        if ($time - time() < 24 * 3600 * 27) {
            // Putting it into http error messaeg. Should actually move this to gbl.
            $expire = ($time - time()) / (24 * 3600);
            $ghtml->__http_vars['frm_emessage'] = "license_will_expire";
            $ghtml->__http_vars['frm_m_emessage_data'] = round($expire);
        }
        if (!$match) {
            $ghtml->__http_vars['frm_emessage'] = "license_doesnt_match_ip";
        }
    }
    $gbl->setSessionV('__v_not_first_time', 1);
    $gbl->__v_first_time = 1;
}
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:47,代码来源:coredisplaylib.php

示例8: fclose

        $licenses[] = $code;
    }
}
fclose($fh);
$fh = fopen(__DIR__ . '/data.fda.gov.tw/36.csv', 'r');
while ($line = fgetcsv($fh, 2048, "\t")) {
    $code = getCode($line[0]);
    if (false !== $code) {
        $licenses[] = $code;
    }
}
fclose($fh);
$countLicenses = count($licenses);
$countProcessed = 0;
foreach ($licenses as $code) {
    getLicense($code);
    ++$countProcessed;
    if ($countProcessed % 100 === 0) {
        echo "processing {$countProcessed} / {$countLicenses}\n";
    }
}
function getCode($str)
{
    global $prefixCodes;
    $prefixCode = false;
    foreach ($prefixCodes as $code => $prefix) {
        if (false === $prefixCode && false !== strpos($str, $prefix)) {
            $prefixCode = $code;
        }
    }
    if (false !== $prefixCode) {
开发者ID:pombredanne,项目名称:tfda_license,代码行数:31,代码来源:fda.php

示例9: install_process_get_request

//Process any GET requests
if (!empty($_GET)) {
    $redirect = install_process_get_request($step, $vars);
    //Redirect to new page if needed
    if (!empty($redirect)) {
        header("Location: {$redirect}");
        exit;
    }
}
//Process any POST requests
if (!empty($_POST)) {
    $redirect = install_process_post_request($step, $vars);
    //Redirect to new page if needed
    if (!empty($redirect)) {
        header("Location: {$redirect}");
        exit;
    }
}
//Genorate Page Title and heading based on insallation step
$vars['title'] = install_get_page_title($step);
$vars['heading'] = install_get_page_heading($step);
$vars['copyright'] = APPLICATION_NAME . " Install" . ' &copy;' . date("Y");
$vars['step'] = $step;
//Load License
$vars['LICENCE'] = getLicense();
//Load Template Engine
include "libraries/template.lib.php";
//Build and Display Page
$vars['breadcrumb'] = render_template(install_get_breadcrumb($step), $vars);
$vars['content'] = render_template(install_get_content($step), $vars);
print render_template(template_file("page.tpl.php"), $vars);
开发者ID:cyberpay,项目名称:multifaucet,代码行数:31,代码来源:install.php

示例10: CMS

    }
    return $retArray;
}
$ezinfo = eZPublishSDK::version(true);
$whatIsEzPublish = '<p>eZ Publish is a professional PHP application framework with advanced
CMS (content management system) functionality. As a CMS, its most notable
feature is its revolutionary, fully customizable and extendable content
model. This is also what makes eZ Publish suitable as a platform for
general PHP development, allowing you to rapidly create professional
web-based applications.</p>

<p>Standard CMS functionality (such as news publishing, e-commerce and
forums) are already implemented and ready to use. Standalone libraries
can be used for cross-platform database-independent browser-neutral
PHP projects. Because eZ Publish is a web-based application, it can
be accessed from anywhere you have an internet connection.</p>';
$license = getLicense();
$contributors = getContributors(EZ_ABOUT_CONTRIBUTORS_DIR);
$thirdPartySoftware = getThirdPartySoftware(EZ_ABOUT_THIRDPARTY_SOFTWARE_FILE);
$extensions = getExtensionsInfo();
list($whatIsEzPublish, $contributors, $thirdPartySoftware, $extensions) = strReplaceByArray(array('eZ Systems AS' => '<a href="http://ez.no/">eZ Systems AS</a>', 'eZ Systems as' => '<a href="http://ez.no/">eZ Systems AS</a>', 'eZ systems AS' => '<a href="http://ez.no/">eZ Systems AS</a>', 'eZ systems as' => '<a href="http://ez.no/">eZ Systems AS</a>', 'eZ Publish' => '<a href="http://ez.no/ezpublish">eZ Publish</a>', 'eZ publish' => '<a href="http://ez.no/ezpublish">eZ Publish</a>'), array($whatIsEzPublish, $contributors, $thirdPartySoftware, $extensions));
$tpl = eZTemplate::factory();
$tpl->setVariable('ezinfo', $ezinfo);
$tpl->setVariable('what_is_ez_publish', $whatIsEzPublish);
$tpl->setVariable('license', $license);
$tpl->setVariable('contributors', $contributors);
$tpl->setVariable('third_party_software', $thirdPartySoftware);
$tpl->setVariable('extensions', $extensions);
$Result = array();
$Result['content'] = $tpl->fetch("design:ezinfo/about.tpl");
$Result['path'] = array(array('url' => false, 'text' => ezpI18n::tr('kernel/ezinfo', 'Info')), array('url' => false, 'text' => ezpI18n::tr('kernel/ezinfo', 'About')));
开发者ID:mugoweb,项目名称:ezpublish-legacy,代码行数:31,代码来源:about.php


注:本文中的getLicense函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。