🐘 checkPicture v1.php (Php) 685 bytes 2016-01-08
PHP module for checkPicture v1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 | <?php
// Buzzer related php scource
require_once( "/home/www/wwwbuzzerstar/library/Image.inc.php");
$img = new Image;
$imageUri = trim($_REQUEST['image']);
$head = $img->checkHeader($imageUri);
//echo "ext=$ext und head=$head<br />";
if ( $head == 1 ){
file_put_contents('/tmp/checkPicture.log', "$imageUri:true\n", FILE_APPEND | LOCK_EX);
echo "true";
exit(0);
}
$ext = $img->checkExtension($imageUri);
if ( $ext == 1 ) {
file_put_contents('/tmp/checkPicture.log', "$imageUri:true\n", FILE_APPEND | LOCK_EX);
echo "true";
exit(0);
}
file_put_contents('/tmp/checkPicture.log', "$imageUri:false\n", FILE_APPEND | LOCK_EX);
echo "false";
exit(0);
?>
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "checkPicture v1.php",
"description": "PHP module for checkPicture v1",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "685 bytes",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/checkPicture v1.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 checkPicture.php (Php) 796 bytes 2016-01-08
PHP module for checkPicture
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 | <?php
// Buzzer related php scource
require_once( "/home/www/wwwbuzzerstar/library/Image.inc.php");
$img = new Image;
$imageUri = trim($_REQUEST['image']);
if(strpos($imageUri, ' ') !== false){
$array = explode(' ',$imageUri);
$imageUri = $array[0];
}
$head = $img->checkHeader($imageUri);
//echo "ext=$ext und head=$head<br />";
if ( $head == 1 ){
file_put_contents('/tmp/checkPicture.log', "$imageUri:true\n", FILE_APPEND | LOCK_EX);
echo "true";
exit(0);
}
$ext = $img->checkExtension($imageUri);
if ( $ext == 1 ) {
file_put_contents('/tmp/checkPicture.log', "$imageUri:true\n", FILE_APPEND | LOCK_EX);
echo "true";
exit(0);
}
file_put_contents('/tmp/checkPicture.log', "$imageUri:false\n", FILE_APPEND | LOCK_EX);
echo "false";
exit(0);
?>
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "checkPicture.php",
"description": "PHP module for checkPicture",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "796 bytes",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/checkPicture.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 emailCheck v01.php (Php) 2.2 KB 2016-01-08
PHP module for emailCheck v01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//later: geo ip und spracheinstellungen
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
require_once( "/home/www/wwwbuzzerstar/library/Functions.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Config.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Connection.inc.php");
$func = new Functions();
$config = new Config();
$conn = new Connection();
$emailQuery = trim($_REQUEST['e']);
if (filter_var($emailQuery, FILTER_VALIDATE_EMAIL) === false) {
// echo("$email is not a valid email address");
echo "Ungültige Email eingegeben!";
exit(0);
}
$pdo = $conn->prepareQuery();
$table = $config->sql_tablename_publish_de();
$shortcode_passkey = $config->shortcode_passkey();
$stmt = $pdo->prepare("SELECT * FROM $table WHERE p_paypallink=:emaillink LIMIT 100;");
$stmt->bindValue(':emaillink', $emailQuery, PDO::PARAM_STR);
$stmt->execute();
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
$articleCount = count($rows);
$gutschein_credit_array = $config->gutschein_credits_array();
$gutschein_array = $config->gutschein_array();
$you_can_have = "Du kannst jetzt schon folgende Gutscheinkarten haben: <p><ol>";
$ArrCount = 0;
foreach ($gutschein_credit_array as $key) {
if ($articleCount>=$key){
$you_can_have .=<<<END
<li>$gutschein_array[$ArrCount] - <a href="mailto:contact@buzzerstar.com?subject=Gutschein für Artikel anfordern&body=Hallo, Ich habe Artikel auf BuzzerStar geschrieben und möchte meinen Gutschein für $gutschein_array[$ArrCount] zugeschickt bekommen. Meine Email Adresse lautet: $emailQuery .">Jetzt Gutschein anfordern</a>
END;
... [truncated, 12 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "emailCheck v01.php",
"description": "PHP module for emailCheck v01",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "2.2 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/emailCheck v01.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 emailCheck.php (Php) 1.4 KB 2016-01-08
PHP module for emailCheck
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//later: geo ip und spracheinstellungen
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
$emailQuery = trim($_REQUEST['e']);
if (filter_var($emailQuery, FILTER_VALIDATE_EMAIL) === false) {
// echo("$email is not a valid email address");
//echo "Ungültige Email eingegeben!";
exit(0);
}
file_put_contents("/home/emaillists/buzzerstarCOM_liste.txt", "$emailQuery\n", FILE_APPEND | LOCK_EX);
//sendKontaktformularMail($emailQuery);
exit(0);
function sendKontaktformularMail($emailQuery){
$empfaenger = $emailQuery;
$betreff = "Sie haben den Hochbegabt Test auf Hochbegabt.de gemacht";
$nachricht = "Vielen Dank, dass Sie den Test auf Hochbegabt.de gemacht haben. Sie sind wahrscheinlich sehr begabt. Wir informieren Sie über Neuigkeiten.";
$header = 'MIME-Version: 1.0' . "\r\n";
$header .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$header .= "To: Hochbegabt.de Teilnehmer <$emailQuery>". "\r\n";
$header .= 'From: Hochbegabt.de <support@hochbegabt.de>' . "\r\n";
mail($empfaenger, $betreff, $nachricht, $header);
} // public function sendKontaktformularMail($nachricht){
?>
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "emailCheck.php",
"description": "PHP module for emailCheck",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "1.4 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/emailCheck.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 rating.php (Php) 2.0 KB 2016-01-08
PHP module for rating
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
$aResponse['error'] = false;
$aResponse['message'] = '';
// ONLY FOR THE DEMO, YOU CAN REMOVE THIS VAR
$aResponse['server'] = '';
// END ONLY FOR DEMO
if(isset($_POST['action']))
{
if(htmlentities($_POST['action'], ENT_QUOTES, 'UTF-8') == 'rating')
{
/*
* vars
*/
$id = intval($_POST['idBox']);
$rate = floatval($_POST['rate']);
// YOUR MYSQL REQUEST HERE or other thing :)
/*
*
*/
// if request successful
$success = true;
// else $success = false;
// json datas send to the js file
if($success)
{
$aResponse['message'] = 'Your rate has been successfuly recorded. Thanks for your rate :)';
// ONLY FOR THE DEMO, YOU CAN REMOVE THE CODE UNDER
$aResponse['server'] = '<strong>Success answer :</strong> Success : Your rate has been recorded. Thanks for your rate :)<br />';
$aResponse['server'] .= '<strong>Rate received :</strong> '.$rate.'<br />';
$aResponse['server'] .= '<strong>ID to update :</strong> '.$id;
// END ONLY FOR DEMO
echo json_encode($aResponse);
}
else
{
$aResponse['error'] = true;
$aResponse['message'] = 'An error occured during the request. Please retry';
// ONLY FOR THE DEMO, YOU CAN REMOVE THE CODE UNDER
$aResponse['server'] = '<strong>ERROR :</strong> Your error if the request crash !';
// END ONLY FOR DEMO
... [truncated, 30 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "rating.php",
"description": "PHP module for rating",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "2.0 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/rating.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 revision.php (Php) 6.1 KB 2016-01-08
PHP module for revision
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//header("Pragma: no-cache");
/*
//later: geo ip und spracheinstellungen
error_reporting(E_ALL);
ini_set('display_errors', '0');
*/
require_once( "/home/www/wwwbuzzerstar/library/Template.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Config.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Functions.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Connection.inc.php");
$design = new Template();
$func = new Functions();
$config = new Config();
$conn = new Connection();
$table = $config->sql_tablename_revision();
$pdo = $conn->prepareQuery();
$design->setPath( "/home/www/wwwbuzzerstar/tpl/" );
$GoogleUserID = md5($_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);
/*
Parameter Execution
*/
$myFunction = $func->stripHtml($_REQUEST['myfunction']); // read / write
$p_headline = $func->stripHtml($_REQUEST['headline']);
$p_category = $func->stripHtml($_REQUEST['category']);
$p_tags1 = $func->stripHtml($_REQUEST['tags1']);
$p_tags2 = $func->stripHtml($_REQUEST['tags2']);
$p_tags3 = $func->stripHtml($_REQUEST['tags3']);
$p_tags4 = $func->stripHtml($_REQUEST['tags4']);
$p_tags5 = $func->stripHtml($_REQUEST['tags5']);
$p_articletext = $func->stripHtml($_REQUEST['articletext']);
$p_sourcelink = $func->stripHtml($_REQUEST['sourcelink']);
$p_picture1 = $func->stripHtml($_REQUEST['picture1']);
$p_picture2 = $func->stripHtml($_REQUEST['picture2']);
$p_picture3 = $func->stripHtml($_REQUEST['picture3']);
$p_hashtag = $func->stripHtml($_REQUEST['hashtag']);
$p_videolink = $func->stripHtml($_REQUEST['videolink']);
$p_twitterlink = $func->stripHtml($_REQUEST['twitterlink']);
$p_backlink = $func->stripHtml($_REQUEST['backlink']);
$p_paypallink = $func->stripHtml($_REQUEST['paypallink']);
... [truncated, 85 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "revision.php",
"description": "PHP module for revision",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "6.1 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/revision.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 revision_post.php (Php) 6.1 KB 2016-01-08
PHP module for revision post
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//header("Pragma: no-cache");
/*
//later: geo ip und spracheinstellungen
error_reporting(E_ALL);
ini_set('display_errors', '0');
*/
require_once( "/home/www/wwwbuzzerstar/library/Template.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Config.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Functions.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Connection.inc.php");
$design = new Template();
$func = new Functions();
$config = new Config();
$conn = new Connection();
$table = $config->sql_tablename_revision();
$pdo = $conn->prepareQuery();
$design->setPath( "/home/www/wwwbuzzerstar/tpl/" );
$GoogleUserID = md5($_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);
/*
Parameter Execution
*/
$myFunction = $func->stripHtml($_REQUEST['myfunction']); // read / write
$p_headline = $func->stripHtml($_REQUEST['headline']);
$p_category = $func->stripHtml($_REQUEST['category']);
$p_tags1 = $func->stripHtml($_REQUEST['tags1']);
$p_tags2 = $func->stripHtml($_REQUEST['tags2']);
$p_tags3 = $func->stripHtml($_REQUEST['tags3']);
$p_tags4 = $func->stripHtml($_REQUEST['tags4']);
$p_tags5 = $func->stripHtml($_REQUEST['tags5']);
$p_articletext = $func->stripHtml($_REQUEST['articletext']);
$p_sourcelink = $func->stripHtml($_REQUEST['sourcelink']);
$p_picture1 = $func->stripHtml($_REQUEST['picture1']);
$p_picture2 = $func->stripHtml($_REQUEST['picture2']);
$p_picture3 = $func->stripHtml($_REQUEST['picture3']);
$p_hashtag = $func->stripHtml($_REQUEST['hashtag']);
$p_videolink = $func->stripHtml($_REQUEST['videolink']);
$p_twitterlink = $func->stripHtml($_REQUEST['twitterlink']);
$p_backlink = $func->stripHtml($_REQUEST['backlink']);
$p_paypallink = $func->stripHtml($_REQUEST['paypallink']);
... [truncated, 85 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "revision_post.php",
"description": "PHP module for revision post",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "6.1 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/revision_post.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 revision_wp.php (Php) 6.0 KB 2016-01-08
PHP module for revision wp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//header("Pragma: no-cache");
/*
//later: geo ip und spracheinstellungen
error_reporting(E_ALL);
ini_set('display_errors', '0');
*/
require_once( "/home/www/wwwbuzzerstar/library/Template.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Config.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Functions.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Connection.inc.php");
$design = new Template();
$func = new Functions();
$config = new Config();
$conn = new Connection();
$table = $config->sql_tablename_revision_wp();
$pdo = $conn->prepareQuery();
$design->setPath( "/home/www/wwwbuzzerstar/tpl/" );
$GoogleUserID = md5($_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);
/*
Parameter Execution
*/
$myFunction = $func->stripHtml($_REQUEST['myfunction']); // read / write
$p_headline = $func->stripHtml($_REQUEST['headline']);
$p_category = $func->stripHtml($_REQUEST['category']);
$p_tags1 = $func->stripHtml($_REQUEST['tags1']);
$p_tags2 = $func->stripHtml($_REQUEST['tags2']);
$p_tags3 = $func->stripHtml($_REQUEST['tags3']);
$p_tags4 = $func->stripHtml($_REQUEST['tags4']);
$p_tags5 = $func->stripHtml($_REQUEST['tags5']);
$p_articletext = $func->stripHtml($_REQUEST['articletext']);
$p_sourcelink = $func->stripHtml($_REQUEST['sourcelink']);
$p_picture1 = $func->stripHtml($_REQUEST['picture1']);
$p_picture2 = $func->stripHtml($_REQUEST['picture2']);
$p_picture3 = $func->stripHtml($_REQUEST['picture3']);
$p_hashtag = $func->stripHtml($_REQUEST['hashtag']);
$p_videolink = $func->stripHtml($_REQUEST['videolink']);
$p_twitterlink = $func->stripHtml($_REQUEST['twitterlink']);
$p_backlink = $func->stripHtml($_REQUEST['backlink']);
$p_paypallink = $func->stripHtml($_REQUEST['paypallink']);
... [truncated, 85 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "revision_wp.php",
"description": "PHP module for revision wp",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "6.0 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/revision_wp.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 search sdfg sdf.php (Php) 2.9 KB 2016-01-08
PHP module for search sdfg sdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//later: geo ip und spracheinstellungen
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
require_once( "/home/www/wwwbuzzerstar/library/Template.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Functions.inc.php" );
require_once( "/home/www/wwwbuzzerstar/library/Search.inc.php");
$func = new Functions();
$search = new Search();
$design = new Template();
//$GoogleUserID = md5($_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);
$searchquery = trim($func->stripHtml($_REQUEST['q']));
//$SearchContent = $search->SphinxSearch( "*$searchquery*" );
$SearchContent = $search->SphinxSearch( $searchquery );
/*
echo "Search for: $searchquery<br />";
print_R($SearchContent);
exit;
*/
$htmlcode = "";
for ( $ArrayCount=0; $ArrayCount<=count($SearchContent) - 1; $ArrayCount++ ) {
list( $headline,$shortcode ) = explode('#####', $SearchContent[$ArrayCount] );
$shortcode = trim($shortcode);
$headline = trim($headline);
$headline_raw = $headline;
$headline_print = substr($headline,0,75).' ...';
$headline_print = str_ireplace($searchquery, " <b><strong><i>".ucfirst($searchquery)."</i></strong></b> ", $headline_print);
$htmlcode .= <<<LIST
<div class="show" id="figure_search"><a href="https://www.buzzerstar.com/g.php?c=$shortcode" rel="nofollow"><figure id="figure_search"><img src="https://www.buzzerstar.com/i.php?s=$shortcode" height="120" width="90" itemprop="image" alt="Bildbeschreibung: $headline_raw" class="links"/></figure><p><figcaption>$headline_print</figcaption></p></a><div class="clear"></div>
<hr />
LIST;
/*
$htmlcode .= <<<LIST
<div class="show" id="figure_search"><a href="https://www.buzzerstar.com/g.php?c=$shortcode" rel="nofollow"><figure id="figure_search"><img src="https://www.buzzerstar.com/i.php?s=$shortcode" height="120" width="90" itemprop="image" alt="Bildbeschreibung: $headline_raw" class="links"/></figure><p><figcaption>$headline_print</figcaption></p></a><div class="clear"></div>
<hr />
LIST;
*/
}
... [truncated, 18 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "search sdfg sdf.php",
"description": "PHP module for search sdfg sdf",
"dateModified": "2016-01-08",
"dateCreated": "2025-03-23",
"contentSize": "2.9 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/search sdfg sdf.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 search.php (Php) 3.9 KB 2016-09-01
PHP module for search
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//later: geo ip und spracheinstellungen
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
require_once("/home/www/blog.onetop.com/libraryv3/Template.inc.php");
require_once("/home/www/blog.onetop.com/libraryv3/Functions.inc.php");
require_once("/home/www/blog.onetop.com/libraryv3/Search.inc.php");
require_once("/home/www/blog.onetop.com/libraryv3/Minify.inc.php");
require_once("/home/www/blog.onetop.com/libraryv3/Logging.inc.php");
$logs = new Logging();
$func = new Functions();
$search = new Search();
$design = new Template();
$minObj = new Minify();
//$GoogleUserID = md5($_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);
$searchquery = trim($func->stripHtml($_REQUEST['q']));
//$SearchContent = $search->SphinxSearch( "*$searchquery*" );
$SearchContent = $search->SphinxSearch( $searchquery );
/*
echo "Search for: $searchquery<br />";
print_R($SearchContent);
exit;
*/
$sCount = count($SearchContent);
$htmlcode = "$sCount Search results: ";
if ( $sCount <= 0){
exit(0);
};
/**/
$GoogleWerbungString =<<<END
<!-- Onetopp.com -->
<span class="heading--secondary">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8441004200831936"
data-ad-slot="1845200008"
... [truncated, 47 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "search.php",
"description": "PHP module for search",
"dateModified": "2016-09-01",
"dateCreated": "2025-03-23",
"contentSize": "3.9 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/search.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}
🐘 sendmail.php (Php) 2.3 KB 2016-07-12
PHP module for sendmail
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
//ini_set("mail.log", "/tmp/mail.log");
//ini_set("mail.add_x_header", TRUE);
require_once("/home/www/www.onetopp.com/libraryv3/mail/Mail.php");
header("Content-Type: text/html; charset=UTF-8");
header("Expires: on, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//later: geo ip und spracheinstellungen
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
$email = trim($_REQUEST['e']);
$firstname = trim($_REQUEST['f']);
$lastname = trim($_REQUEST['l']);
$phone = trim($_REQUEST['p']);
$website = trim($_REQUEST['w']);
$message = trim($_REQUEST['m']);
$heute = date("D M j G:i:s T Y");
$logString = "$heute -> Firstname: $firstname - Lastname: $lastname - Email: $email - Phone: $phone - Website: $website - Message: $message\n";
file_put_contents("/home/www/logs/ONETOPP/onetoppEmails.txt", "$logString\n", FILE_APPEND | LOCK_EX);
$from = "$firstname $lastname <$email>";
$to = "Sebastian Enger <sebastian.enger@gmail.com>";
$subject = "Contact request on ONETOPP.COM";
$body = $message;
$host = "smtp.gmail.com";
$port = "587";
$username = "sebastian.enger@gmail.com";
$password = 'Ba$tiW!nB@G_2018';
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'port' => $port,
'auth' => true,
'username' => $username,
'password' => $password));
if (filter_var($email, FILTER_VALIDATE_EMAIL) === true) {
$mail = $smtp->send($to, $headers, $body);
};
... [truncated, 24 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "sendmail.php",
"description": "PHP module for sendmail",
"dateModified": "2016-07-12",
"dateCreated": "2025-03-23",
"contentSize": "2.3 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/sendmail.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/onetipp/blog.onetop.com/ajax/"
}