res/layout/activity_main.xml<?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="…
function toWeekNum($timestamp) { $w = date('w', mktime(0,0,0, date('n',$timestamp), 1, date('Y',$timestamp))); return ceil(($w + date('j',$timestamp) -1) / 7);}$weekNo = toWeekNum(time());$weekNo1 = $weekNo - 1;$todayset = strtotime(date("Y-m-d", strtotime("0 days", strtotime(G5_…
<tr<?php echo $tr_css; ?> data-href="<?php echo $list[$i]['href'];?>"><script>$('.list-pc tr[data-href]').on("click", function() { document.location = $(this).data('href');});</script>
<!-- Google 번역 --> <div id="google_translate_element" class="hd_lang"></div> <script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'ko', includedLanguages: 'ko,zh-CN,zh-TW,ja,vi,th,tl,km,my,mn,ru,en…
extend/cloudflare.extend.php<?phpif (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가;if($_SERVER['HTTP_CF_VISITOR']){ if(json_decode($_SERVER['HTTP_CF_VISITOR'])->scheme=='https') $_SERVER['HTTPS'] = 'on'; $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];}
<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /# Redirect www to Non-wwwRewriteCond %{ENV:HTTPS} !=onRewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]…
$whitelist = array( '127.0.0.1', '::1' ); if(!in_array($_SERVER['REMOTE_ADDR'], $whitelist)){ // not valid }
<?php$coingecko_str = file_get_contents('https://api.coinmarketcap.com/v1/ticker/?limit=20');$coingecko_json = json_decode($coingecko_str, true); // decode the JSON into an associative array//echo '<pre>' . print_r($json, true) . '</pre>';$coingecko_price = $coingecko_json['ethereum']…
<select name="fruit" id="fruit" readonly style="background-color:#ababab" onFocus="this.initialSelect = this.selectedIndex;" onChange="this.selectedIndex = this.initialSelect;"><option value=''>ALL</option><option value='apple…
PHP5.6 の場合 「 #!/usr/local/php/5.6/bin/php 」 PHP7.0 の場合 「 #!/usr/local/php/7.0/bin/php 」 PHP7.1 の場合 「 #!/usr/local/php/7.1/bin/php 」 PHP7.3 の場合 「 #!/usr/local/php/7.3/bin/php 」 シェルスクリプトの場合 「 #!/bin/sh 」 ファイルのパ…
株式会社YHPLUS / 대표 : ZERO
〒171-0014 東京都豊島区池袋2-41-5 アーバン154 8F
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d