mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-04 19:14:41 +00:00
Delete rule directory
This commit is contained in:
@@ -1,80 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<?php
|
||||
$servernamefile = "../server/servername.txt";
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
$domain = $_SERVER['HTTP_HOST'];
|
||||
|
||||
//------------------------
|
||||
|
||||
$contactfile = "../server/contact.txt";
|
||||
|
||||
$privacypolicyfile = "../server/privacypolicy.txt";
|
||||
$privacypolicydata = file_get_contents($privacypolicyfile);
|
||||
|
||||
function processMarkdownAndWrapEmptyLines($markdownText) {
|
||||
|
||||
// コード(#code)をHTMLのdiv class="code"タグに変換
|
||||
$markdownText = preg_replace('/^#code (.+)/m', '<div class="code"><p>$1</p></div>', $markdownText);
|
||||
|
||||
// 画像(#img)をHTMLのimgタグに変換
|
||||
$markdownText = preg_replace('/^#img (.+)/m', '<img src="$1">', $markdownText);
|
||||
|
||||
// タイトル(#、##、###)をHTMLのhタグに変換
|
||||
$markdownText = preg_replace('/^# (.+)/m', '<h2>$1</h2>', $markdownText);
|
||||
$markdownText = preg_replace('/^## (.+)/m', '<h3>$1</h3>', $markdownText);
|
||||
$markdownText = preg_replace('/^### (.+)/m', '<h4>$1</h4>', $markdownText);
|
||||
|
||||
// 箇条書き(-)をHTMLのul/liタグに変換
|
||||
$markdownText = preg_replace('/^- (.+)/m', '<ul><li>$1</li></ul>', $markdownText);
|
||||
|
||||
// 空行の前に何もない行をHTMLのpタグに変換
|
||||
$markdownText = preg_replace('/(^\s*)(?!\s)(.*)/m', '$1<p>$2</p>', $markdownText);
|
||||
|
||||
return $markdownText;
|
||||
}
|
||||
|
||||
$sprivacypolicy = explode("\n", $privacypolicydata);
|
||||
$htmltext = ''; // 初期化
|
||||
|
||||
foreach ($sprivacypolicy as $privacypolicy) {
|
||||
$markdowntext = $privacypolicy;
|
||||
$convertedText = processMarkdownAndWrapEmptyLines($markdowntext);
|
||||
$htmltext .= $convertedText . "\n"; // 変換されたテキストを追加
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../css/home.css">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>プライバシーポリシー - <?php echo file_get_contents($servernamefile);?></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="topbox">
|
||||
<div class="logo">
|
||||
<img src="../img/uwuzulogo.svg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="terms">
|
||||
|
||||
<h1><?php echo file_get_contents($servernamefile);?>プライバシーポリシー</h1>
|
||||
<div class="p3"><?php echo file_get_contents($servernamefile);?></div>
|
||||
<div class="p2c"><?php echo $domain;?></div>
|
||||
|
||||
<p><?php echo $htmltext;?></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<?php
|
||||
$servernamefile = "../server/servername.txt";
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
$domain = $_SERVER['HTTP_HOST'];
|
||||
|
||||
//------------------------
|
||||
|
||||
$contactfile = "../server/contact.txt";
|
||||
|
||||
$releasefile = "../server/uwuzurelease.txt";
|
||||
$releasedata = file_get_contents($releasefile);
|
||||
|
||||
$softwarefile = "../server/uwuzuinfo.txt";
|
||||
$softwaredata = file_get_contents($softwarefile);
|
||||
|
||||
$softwaredata = explode( "\n", $softwaredata );
|
||||
$cnt = count( $softwaredata );
|
||||
for( $i=0;$i<$cnt;$i++ ){
|
||||
$uwuzuinfo[$i] = ($softwaredata[$i]);
|
||||
}
|
||||
|
||||
function processMarkdownAndWrapEmptyLines($markdownText) {
|
||||
|
||||
// コード(#code)をHTMLのdiv class="code"タグに変換
|
||||
$markdownText = preg_replace('/^#code (.+)/m', '<div class="code"><p>$1</p></div>', $markdownText);
|
||||
|
||||
// 画像(#img)をHTMLのimgタグに変換
|
||||
$markdownText = preg_replace('/^#img (.+)/m', '<img src="$1">', $markdownText);
|
||||
|
||||
// タイトル(#、##、###)をHTMLのhタグに変換
|
||||
$markdownText = preg_replace('/^# (.+)/m', '<h2>$1</h2>', $markdownText);
|
||||
$markdownText = preg_replace('/^## (.+)/m', '<h3>$1</h3>', $markdownText);
|
||||
$markdownText = preg_replace('/^### (.+)/m', '<h4>$1</h4>', $markdownText);
|
||||
|
||||
// 箇条書き(-)をHTMLのul/liタグに変換
|
||||
$markdownText = preg_replace('/^- (.+)/m', '<ul><li>$1</li></ul>', $markdownText);
|
||||
|
||||
// 空行の前に何もない行をHTMLのpタグに変換
|
||||
$markdownText = preg_replace('/(^\s*)(?!\s)(.*)/m', '$1<p>$2</p>', $markdownText);
|
||||
|
||||
return $markdownText;
|
||||
}
|
||||
|
||||
$srelease = explode("\n", $releasedata);
|
||||
$htmltext = ''; // 初期化
|
||||
|
||||
foreach ($srelease as $release) {
|
||||
$markdowntext = $release;
|
||||
$convertedText = processMarkdownAndWrapEmptyLines($markdowntext);
|
||||
$htmltext .= $convertedText . "\n"; // 変換されたテキストを追加
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../css/home.css">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title><?php echo $uwuzuinfo[0]?> リリースノート - <?php echo file_get_contents($servernamefile);?></title>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div class="topbox">
|
||||
<div class="logo">
|
||||
<img src="../img/uwuzulogo.svg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="terms">
|
||||
|
||||
<h1><?php echo $uwuzuinfo[0]?>リリースノート</h1>
|
||||
<div class="p3"><?php echo file_get_contents($servernamefile);?></div>
|
||||
<div class="p2c"><?php echo $domain;?></div>
|
||||
<div class="p3"><?php echo $uwuzuinfo[0];?></div>
|
||||
<div class="p2c">Version : <?php echo $uwuzuinfo[1];?><br>Developer : <?php echo $uwuzuinfo[3];?><br>Last Update : <?php echo $uwuzuinfo[2];?></div>
|
||||
|
||||
|
||||
<p><?php echo $htmltext;?></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,80 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<?php
|
||||
$servernamefile = "../server/servername.txt";
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
$domain = $_SERVER['HTTP_HOST'];
|
||||
|
||||
//------------------------
|
||||
|
||||
$contactfile = "../server/contact.txt";
|
||||
|
||||
$termsfile = "../server/terms.txt";
|
||||
$termsdata = file_get_contents($termsfile);
|
||||
|
||||
function processMarkdownAndWrapEmptyLines($markdownText) {
|
||||
|
||||
// コード(#code)をHTMLのdiv class="code"タグに変換
|
||||
$markdownText = preg_replace('/^#code (.+)/m', '<div class="code"><p>$1</p></div>', $markdownText);
|
||||
|
||||
// 画像(#img)をHTMLのimgタグに変換
|
||||
$markdownText = preg_replace('/^#img (.+)/m', '<img src="$1">', $markdownText);
|
||||
|
||||
// タイトル(#、##、###)をHTMLのhタグに変換
|
||||
$markdownText = preg_replace('/^# (.+)/m', '<h2>$1</h2>', $markdownText);
|
||||
$markdownText = preg_replace('/^## (.+)/m', '<h3>$1</h3>', $markdownText);
|
||||
$markdownText = preg_replace('/^### (.+)/m', '<h4>$1</h4>', $markdownText);
|
||||
|
||||
// 箇条書き(-)をHTMLのul/liタグに変換
|
||||
$markdownText = preg_replace('/^- (.+)/m', '<ul><li>$1</li></ul>', $markdownText);
|
||||
|
||||
// 空行の前に何もない行をHTMLのpタグに変換
|
||||
$markdownText = preg_replace('/(^\s*)(?!\s)(.*)/m', '$1<p>$2</p>', $markdownText);
|
||||
|
||||
return $markdownText;
|
||||
}
|
||||
|
||||
$sterms = explode("\n", $termsdata);
|
||||
$htmltext = ''; // 初期化
|
||||
|
||||
foreach ($sterms as $terms) {
|
||||
$markdowntext = $terms;
|
||||
$convertedText = processMarkdownAndWrapEmptyLines($markdowntext);
|
||||
$htmltext .= $convertedText . "\n"; // 変換されたテキストを追加
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../css/home.css">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>利用規約 - <?php echo file_get_contents($servernamefile);?></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="topbox">
|
||||
<div class="logo">
|
||||
<img src="../img/uwuzulogo.svg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="terms">
|
||||
|
||||
<h1><?php echo file_get_contents($servernamefile);?>利用規約</h1>
|
||||
<div class="p3"><?php echo file_get_contents($servernamefile);?></div>
|
||||
<div class="p2c"><?php echo $domain;?></div>
|
||||
|
||||
<p><?php echo $htmltext;?></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<?php
|
||||
$servernamefile = "../server/servername.txt";
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
$domain = $_SERVER['HTTP_HOST'];
|
||||
|
||||
//------------------------
|
||||
|
||||
$contactfile = "../server/contact.txt";
|
||||
|
||||
$termsfile = "../server/uwuzuabout.txt";
|
||||
$termsdata = file_get_contents($termsfile);
|
||||
|
||||
$softwarefile = "../server/uwuzuinfo.txt";
|
||||
$softwaredata = file_get_contents($softwarefile);
|
||||
|
||||
$softwaredata = explode( "\n", $softwaredata );
|
||||
$cnt = count( $softwaredata );
|
||||
for( $i=0;$i<$cnt;$i++ ){
|
||||
$uwuzuinfo[$i] = ($softwaredata[$i]);
|
||||
}
|
||||
|
||||
function processMarkdownAndWrapEmptyLines($markdownText) {
|
||||
|
||||
// コード(#code)をHTMLのdiv class="code"タグに変換
|
||||
$markdownText = preg_replace('/^#code (.+)/m', '<div class="code"><p>$1</p></div>', $markdownText);
|
||||
|
||||
// 画像(#img)をHTMLのimgタグに変換
|
||||
$markdownText = preg_replace('/^#img (.+)/m', '<img src="$1">', $markdownText);
|
||||
|
||||
// タイトル(#、##、###)をHTMLのhタグに変換
|
||||
$markdownText = preg_replace('/^# (.+)/m', '<h2>$1</h2>', $markdownText);
|
||||
$markdownText = preg_replace('/^## (.+)/m', '<h3>$1</h3>', $markdownText);
|
||||
$markdownText = preg_replace('/^### (.+)/m', '<h4>$1</h4>', $markdownText);
|
||||
|
||||
// 箇条書き(-)をHTMLのul/liタグに変換
|
||||
$markdownText = preg_replace('/^- (.+)/m', '<ul><li>$1</li></ul>', $markdownText);
|
||||
|
||||
// 空行の前に何もない行をHTMLのpタグに変換
|
||||
$markdownText = preg_replace('/(^\s*)(?!\s)(.*)/m', '$1<p>$2</p>', $markdownText);
|
||||
|
||||
return $markdownText;
|
||||
}
|
||||
|
||||
$sterms = explode("\n", $termsdata);
|
||||
$htmltext = ''; // 初期化
|
||||
|
||||
foreach ($sterms as $terms) {
|
||||
$markdowntext = $terms;
|
||||
$convertedText = processMarkdownAndWrapEmptyLines($markdowntext);
|
||||
$htmltext .= $convertedText . "\n"; // 変換されたテキストを追加
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../css/home.css">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title><?php echo $uwuzuinfo[0]?>について - <?php echo file_get_contents($servernamefile);?></title>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div class="topbox">
|
||||
<div class="logo">
|
||||
<img src="../img/uwuzulogo.svg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="terms">
|
||||
|
||||
<h1><?php echo $uwuzuinfo[0]?>について</h1>
|
||||
<div class="p3"><?php echo file_get_contents($servernamefile);?></div>
|
||||
<div class="p2c"><?php echo $domain;?></div>
|
||||
<div class="p3"><?php echo $uwuzuinfo[0];?></div>
|
||||
<div class="p2c">Version : <?php echo $uwuzuinfo[1];?><br>Developer : <?php echo $uwuzuinfo[3];?><br>Last Update : <?php echo $uwuzuinfo[2];?></div>
|
||||
|
||||
|
||||
<p><?php echo $htmltext;?></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user