dbconnect(); $sql_cat_work = "UPDATE `".get_db_table("link")."` SET `isfreigeschaltet`='".$ca_aktiv."' WHERE `id_link`='".$pageid."' "; mysql_query($sql_cat_work) OR die("error"); ##### Bestätigungs Mail senden ##### if(get_link_typ($pageid)=="0") { $mail_txt=get_free_mail(); }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>';
function version_control_shortcode($atts, $label = null) { $link = '<a href="'; $link .= getItemLinkById($atts['id']); $link .= '"'; $link .= $atts['tab'] == "true" ? 'target="_blank"' : null; if (isset($atts['attrclass'])) { $link .= ' class="' . $atts['attrclass'] . '" '; } if (isset($atts['attrid'])) { $link .= ' id="' . $atts['attrid'] . '" '; } $link .= '>'; $link .= $label; $link .= "</a>"; return $link; }
<? #################################### # # COPYRIGHT BY Sebastian Harke 2010 # #################################### if($_GET['m']==1){ # Seite $bc_link = "<a href='".$page_url."' title='Startseite'>Startseite</a> > ".$gp->getName($cat).""; }elseif($_GET['m']==2){ # Kategorien $bc_link = "<a href='".$page_url."' title='Startseite'>Startseite</a> > ".get_alias_to_cat_title($cat).""; }elseif($_GET['m']==3){ # Sub Kategorien $bc_link = "<a href='".$page_url."' title='Startseite'>Startseite</a> > <a href='".getCatDownAlias(get_alias_to_cat_id($cat))."/2.html'>".getCatDownName(get_alias_to_cat_id($cat))."</a> > ".get_alias_to_cat_title($cat)." "; }elseif($_GET['m']==4){ # Details $bc_link = "<a href='".$page_url."' title='Startseite'>Startseite</a> > Details von: ".getItemLinkById(getUrlBack($cat)).""; }else{ # Startseite $bc_link = $gp->getNameHome(); } ?>