Ejemplo n.º 1
0
    <input name="title" size="45" onkeyup="javascript:zaehle_title()" value="<?php 
echo get_link_title_by_id($data_id);
?>
" /><br>
      Zeichen z&auml;hlen: <input type="titel" value="<?php 
echo strlen(html_entity_decode(get_link_title_by_id($data_id)));
?>
" name="anzeigen_title" size="2" />
	
    <br /><br /><b>Beschreibung:</b> (max. 255 Zeichen)<br />
    <textarea name="text" onkeyup="javascript:zaehle_text()" id="text" cols="45" rows="5"><?php 
echo get_link_beschreibung_by_id($data_id);
?>
</textarea>	<br />Zeichen z&auml;hlen: 
    <input type="beschreibung" value="<?php 
echo strlen(html_entity_decode(get_link_beschreibung_by_id($data_id)));
?>
" name="anzeigen_text" size="2" />

    <br /><br /><b>Schl&uuml;sselworte:</b> (max. 160 Zeichen)<br />
    <textarea name="keys" onkeyup="javascript:zaehle_keys()" id="keys" cols="45" rows="5"><?php 
echo get_link_keywords_by_id($data_id);
?>
</textarea><br />
    Zeichen z&auml;hlen: <input type"keywords" value="<?php 
echo strlen(html_entity_decode(get_link_keywords_by_id($data_id)));
?>
" name="anzeigen_keys" size="2" />
    <br /><br />
    <input type="submit" class="submit2" value="Speichern" />
<br /><br />
}elseif($_GET['m']==3){
# Sub Kategorien
$p_name        = get_alias_to_cat_title($cat);
$p_title       = get_alias_to_cat_title($cat);
$p_content     = get_alias_to_cat_beschreibung($cat);
$p_keywords    = get_alias_to_cat_metakeywords($cat);
$p_description = get_alias_to_cat_metadescription($cat);

}elseif($_GET['m']==4){
# Details
$p_name        = get_link_title_by_id(getUrlBack($cat));
$p_title       = get_link_title_by_id(getUrlBack($cat));
$p_url         = get_link_url_by_id(getUrlBack($cat));
$p_content     = get_link_beschreibung_by_id(getUrlBack($cat));
$p_keywords    = get_link_keywords_by_id(getUrlBack($cat));
$p_description = get_link_beschreibung_by_id(getUrlBack($cat));
}elseif($_GET['m']==5){
# Details
$p_name        = "Eintag Bearbeiten";
$p_title       = "Eintag Bearbeiten - ".get_link_url_by_id(getUrlBack($cat));
$p_url         = get_link_url_by_id(getUrlBack($cat));
$p_content     = "";
$p_keywords    = "";
$p_description = "Eintrag editieren";
}else{ 
# Startseite
$p_name        = $gp->getNameHome();
$p_title       = $gp->getTitleHome();
$p_content     = $gp->getContentHome();
$p_keywords    = $gp->getKeywordsHome();
$p_description = $gp->getDescriptionHome();