<p>Zahlen Sie bequem per Überweisung oder per PayPal was den Zahlungsvorgang verkürzen würde.</p> <p>Nach dem Eingang Ihrer Zahlung, schalten wir Ihren Eintrag sofort frei und Sie erhalten von uns eine Rechnung .</p> <form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="<?php echo get_setting_data(paypal); ?> "> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="item_name" value="Premium Eintrag für: <?php echo $add_url; ?> "> <input type="hidden" name="amount" value="<?php echo get_setting_data(prempreis); ?> "> <input type="image" src="templates/<?php echo get_aktiv_layout_data(layout_path); ?> images/paypal.jpg" border="0" name="submit" alt="Jetzt mit PayPal zahlen!"> </form> <? }else{ ?> <p>Wir haben Ihren Seiten Vorschlag erhalten. Nach prüfung Ihrer Daten, werden wir Ihre Seite in unserem Webkatalog freischalten.</p> <? } ?>
<td height="16" width="185">Premiumlink Preis:</td> <td height="16" width="389"><input type="text" size="50" name="prempreis" value="<?php echo get_setting_data(prempreis); ?> " /></td> </tr> <tr> <td height="18" width="185"><br /><strong>Google Webmaster Tool</strong></td> <td height="18" width="389"></td> </tr> <tr> <td height="18" width="185">Google Vertiferzierung (<i>MetaTag</i>):</td> <td height="18" width="389"><input type="text" size="50" name="google_verify" value='<?php echo get_setting_data(google_verify); ?> '/></td> </tr> <tr> <td height="24" width="185" valign="top">Google Analytics:</td> <td height="24" width="389"><textarea rows="5" name="google_analytics" cols="50"><?php echo get_setting_data(google_analytics); ?> </textarea></td> </tr> <tr> <td height="23" width="185"> </td> <td height="23" width="389"><input type="submit" class="submit" value="Speichern" /> <input type="reset" class="submit" value="Zurücksetzen" name="B4"></td> </tr> </table> </form>
<? session_start(); error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); #################################### # # COPYRIGHT BY Sebastian Harke 2010 # #################################### ######### GET Variabeln ############ $cat=stripslashes($_GET["c"]); $mod=stripslashes($_GET["m"]); $page=stripslashes($_GET["s"]); $q=stripslashes($_GET["q"]); $suchtag = str_replace("-", "+",$cat); ########## Includes ################# include('configs/config.inc.php'); include("configs/functions.inc.php"); include("configs/class_page.php"); include("configs/class_template.php"); $gp = new Page; include("configs/class_system.php"); include("configs/class_breadcrumb.php"); ########## Counter ################## if(get_setting_data("counter")=="1") { get_counter(); } ###### Installationsverzeichnis###### if(is_dir('install')=="1"){ if(get_setting_data("url")==""){ $warning="<a href='".$_SERVER['REQUEST_URI']."install/'>drawWEBKATALOG installieren</a>"; }else{ $warning="Installationsverzeichnis löschen"; } echo '<div style="color:#404040;background-color:#caedfc;border:1px solid #CCCCCC;padding:10px;font-size:18px;font-family:Verdana,Arial,Helvetica,sans-serif;">'.$warning.'</div>'; } ########## Layout ################### include($page_layout_path_index); ?>
function saveSetting($k, $v) { global $tbpref; $dft = get_setting_data(); if (!isset($v)) { $v = ''; } $v = stripTheSlashesIfNeeded($v); runsql('delete from ' . $tbpref . 'settings where StKey = ' . convert_string_to_sqlsyntax($k), ''); if ($v !== '') { if (array_key_exists($k, $dft)) { if ($dft[$k]['num']) { $v = (int) $v; if ($v < $dft[$k]['min']) { $v = $dft[$k]['dft']; } if ($v > $dft[$k]['max']) { $v = $dft[$k]['dft']; } } } $dum = runsql('insert into ' . $tbpref . 'settings (StKey, StValue) values(' . convert_string_to_sqlsyntax($k) . ', ' . convert_string_to_sqlsyntax($v) . ')', ''); } }
elements : "elm1", plugins : "style,table,advhr,advimage,insertdatetime,paste,fullscreen,noneditable,visualchars,", theme_advanced_toolbar_location : "top", theme_advanced_buttons1 : "fullscreen,bold,italic,underline,strikethrough,separator," + "justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|,hr,advhr,bullist,numlist,outdent,indent", theme_advanced_buttons2 : "link,unlink,anchor,image,separator,undo,redo,cleanup,code,separator,sub,sup,charmap,insertdate,inserttime,", theme_advanced_buttons3 :"", height:"350px", width:"904px", }); </script> <br /><br /><br /> <div class='buttonwrapper'> <a class='boldbuttons' href='index.php?s=pages'><span>Zurück zur Seiten Verwaltung</span></a> <a class='boldbuttons' href='<?php echo get_setting_data('url'); ?> /<?php echo $sUrl; ?> /1.html' target="_blank"><span>Seiten Vorschau</span></a> <span><div style="padding-top:8px;"><? get_site_tree(); ?></div></span></div> <form enctype="multipart/form-data" method="post" action="" name="editor"> <input type="hidden" name="send" value="1"> <br /><br /> <div id="editor_head"> <div id="editor_head_left"> <strong>Letzte Änderung</strong> <? echo $slastmod; ?></div> <div id="editor_head_right"> <input type="submit" class="submit" name="save" value="Speichern" /> <input type="reset" class="submit" name="reset" value="Zurücksetzen" />
function get_aktiv_layout_data($data) { dbconnect(); $query_layout = mysql_query("SELECT * FROM ".get_db_table("layout")." WHERE Id = ".get_setting_data("layout_id")." "); while ($row_layout=mysql_fetch_object($query_layout)) { $layout_id = $row_layout -> Id; $layout_name = $row_layout -> layout_name; $layout_path = $row_layout -> layout_path; $layout_index = $row_layout -> layout_index; $layout_img = $row_layout -> layout_img; $layout_temp = $row_layout -> layout_temp; } switch ($data) { case "layout_id": return $layout_id; break; case "layout_name": return $layout_name; break; case "layout_path": return $layout_path; break; case "layout_index": return $layout_index; break; case "layout_img": return $layout_img; break; case "layout_img": return $layout_img; break; } }
</li> <li><strong>Anzahl Banner Content:</strong> <?php echo countBannerContent(); ?> </li> </ul> </div> </div> <div class="dash_box"> <div class="dash_box_top">Weiteres</div> <div class="dash_box_middle"> <ul> <li><strong>Seiten Name:</strong> <?php echo get_setting_data("name"); ?> </li> <li><strong>Aktiv Template Name:</strong> <?php echo get_aktiv_layout_data("layout_name"); ?> </li> <li><strong>Anzahl Besucher:</strong> <?php echo countUser(); ?> </li> <li><strong>Anzahl Newsletteradressen:</strong> <?php echo countNewsletter(); ?> </li> </ul>
<? #################################### # # COPYRIGHT BY Sebastian Harke 2010 # #################################### ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo get_setting_data(name); ?> | drawWEBKATALOG ACP</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex,nofollow"> <link rel="stylesheet" href="img/style.css" type="text/css"> <link rel="shortcut icon" href="img/fav.ico" /> <script type="text/javascript" src="img/jquery.js"></script> <script language="javascript" type="text/javascript" src="editor/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> <!-- function popup1(){ $("#popup1").fadeIn(150); $("#popup1").fadeOut(2500); } function popup2(){ $("#popup2").fadeIn(150); $("#popup2").fadeOut(2500); } function popup3(){ $("#popup3").fadeIn(150); $("#popup3").fadeOut(2500); } function zaehle_title(){ formfeld=window.document.editor.Titel.value; window.document.editor.anzeigen_title.value=window.document.editor.Titel.value.length;} function zaehle_keywords(){formfeld=window.document.editor.keywords.value; window.document.editor.anzeigen_keywords.value=window.document.editor.keywords.value.length;} function zaehle_beschreibung(){formfeld=window.document.editor.beschreibung.value;window.document.editor.anzeigen_beschreibung.value=window.document.editor.beschreibung.value.length;} function goto(){var URL = document.form.site.options[document.form.site.selectedIndex].value;window.location.href = URL;} function gotocat(){var URL = document.form.category.options[document.form.category.selectedIndex].value;window.location.href = URL;}
}elseif(get_link_typ($pageid)=="1") { $mail_txt=get_prem_mail(); # eintrag in prem_links add_premlink($pageid,get_prempaydate(),get_prempayenddate(),get_premrememberdate()); } $profil_url = get_setting_data(url)."/".$pageid."-".getUrlName(getItemLinkById($pageid))."/4.html"; $mt1 = str_replace("{webkataloglogo}", get_setting_data('url')."/".get_setting_data('logo'), $mail_txt); $mt2 = str_replace("{webkatalogname}", get_setting_data('name'), $mt1); $mt3 = str_replace("{profil_url}", $profil_url, $mt2); $mt4 = str_replace("{passwort}", get_link_passwort_by_id($pageid), $mt3); $mt = str_replace("{url}", get_link_url_by_id($pageid), $mt4); $webmasterMail=get_setting_data("email"); $subject="Bestätigungs E-Mail von ".get_setting_data("name"); $mailUser=get_link_email($pageid); $header .= "From: $webmasterMail\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html; charset=iso-8859-1\r\n"; $header .= "X-Mailer: PHP ". phpversion(); $mail='<html><body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" bgcolor="#FFFFFF"><div align="center"><table style="margin-top:10px; margin-bottom:15px;color:#000000; text-align:left; font-family:Arial, Helvetica, sans-serif; font-size:12px;" border="0" width="619px" cellpadding="0" cellspacing="0"><tr><td valign="top" width="619px" height="300px"><br>'.$mt.'<br></td></tr></table></body></html>'; mail($mailUser,$subject,$mail,$header); echo "<h3>Bestätigungs E-Mail gesendet!</h3>"; } ####### Link Liste ########################################################## $pageurl="index.php?s=".$page.""; $limit="50";
# COPYRIGHT BY Sebastian Harke 2010 # #################################### if($_POST['send']=="email"){ $anrede=$_POST['anrede']; $name=$_POST['name']; $email=$_POST['email']; $telefon=$_POST['telefon']; $mobil=$_POST['mobil']; $msg=$_POST['msg']; $mail=get_setting_data("email"); if($name=="") {echo '<div id="error">Bitte tragen Sie einen Namen ein!</div>';} elseif($email=="") {echo '<div id="error">Keine Emailadresse eingetragen!</div>';} elseif($msg=="") {echo '<div id="error">Keine Nachricht eingetragen!</div>';} else { mail($mail,"Kontakt - ".get_setting_data("url")," Anrede: $anrede \n Name: $name \n Telefon: $telefon \n Mobiltelefon: $mobil \n Emailadresse: $email \n Anfrage: $msg \n", "From: $name <$email>"); unset($_POST['anrede']); unset($_POST['name']); unset($_POST['email']); unset($_POST['telefon']); unset($_POST['mobil']); unset($_POST['msg']); echo'<h2><strong>Wir haben Ihre Nachricht empfangen und werden uns umgehend bei Ihnen melden.</strong></h2>'; echo'<p>Sollten wir uns innerhalb der nächsten 24 Std. nicht melden, dann liegt ein technisches Problem vor. Wir bitten um Ihre Verständnis. Rufen Sie uns an, oder schicken Sie uns eine neue Anfrage zu.</p><br />';
# Siten Settings $page_name=get_setting_data(name); $page_genre=get_setting_data(gerne); $page_url=get_setting_data(url); $page_email=get_setting_data(email); $page_ico=get_setting_data(favico); $page_date=get_setting_data(sitedate); // Site Layout Path $page_layout_path = "templates/".get_aktiv_layout_data(layout_path); $page_layout_path_index = "templates/".get_aktiv_layout_data(layout_index); $page_layout_path_img = "templates/".get_aktiv_layout_data(layout_img); $page_layout_path_temp = "templates/".get_aktiv_layout_data(layout_temp); // Counter Option $sitecounter=get_setting_data(counter); // 0=off 1=on // Path for Upload Data $page_data_path="media/"; # Banner $banner_head = get_banner(get_array_banner("head"),"head"); $banner_content= get_banner(get_array_banner("content"),"content"); $banner_sitenav= get_banner(get_array_banner("sitenav"),"sitenav"); if($_GET['m']==1){ # Seite $p_name = $gp->getName($cat); $p_title = $gp->getTitle($cat); $p_content = $gp->getContent($cat); $p_file = "core/".$gp->getContentFile($cat);
<? #################################### # # COPYRIGHT BY Sebastian Harke 2010 # #################################### if($_GET['m']==1){ if($p_content_opt=="0"){ echo "<h1>".$p_title."</h1>"; echo $p_content; }else{ include($p_file); } }elseif($_GET['m']==2){ include("categories.php"); }elseif($_GET['m']==3){ include("sub_categories.php"); }elseif($_GET['m']==4){ include("linkdetails.php"); }elseif($_GET['m']==5){ include("linkedit.php"); }elseif($_GET['m']==6){ if($_GET['c'] == "logout") { session_unset(); session_destroy(); ob_end_flush(); echo "<meta http-equiv='refresh' content='0; URL=".get_setting_data(url)."'>"; } }else{ include("main.php");} ?>
<? #################################### # # COPYRIGHT BY Sebastian Harke 2010 # #################################### header ("content-type: text/xml"); include("configs/config.inc.php"); include("configs/functions.inc.php"); $page_url=get_setting_data("url"); echo'<?xml version="1.0" encoding="UTF-8" ?>'; echo'<urlset xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">'; echo "<url><loc>".$page_url."</loc>"; echo "<lastmod>2009-07-06</lastmod>"; echo "<changefreq>weekly</changefreq>"; echo "<priority>1.0</priority></url>"; dbconnect(); $sql_sitemap_data = "SELECT * FROM ".get_db_table('page')." "; $result_sitemap_data = mysql_query($sql_sitemap_data) OR die(mysql_error()); while($get_sitemap = mysql_fetch_assoc($result_sitemap_data)) { $sitemap_url = $page_url."/".$get_sitemap['url']."/1.html"; echo "<url><loc>".$sitemap_url."</loc>"; echo "<lastmod>2009-07-06</lastmod>"; echo "<changefreq>monthly</changefreq>"; echo "<priority>0.5</priority></url>"; } dbconnect(); $sql_sitemap_data2 = "SELECT * FROM ".get_db_table('categorie')." WHERE aktiv = 'ja' ";