Backend Standardtext

Der Backend Standard Text wird auf der Login Seite ins Backend, beim Eintritt (Home) angezeigt. Es ist somit Möglich auf allen Installationen von PHPWCMS diesen Text anzeigen zu lassen. Eine Anwendung wäre z.b. wenn Sie allen Ihren Kunden aktuelle News auf Ihre Startseite im Login Bereich senden möchten.

Autor: Markus Schartner (markus_s) http://www.4x4-tirol.at 2009/10/24
CMS Version: >= V1.3.x

Hier eine Abbildung:

Sie müssen eine Seite im Netz erstellen auf denen Sie die “News” Seite pflegen. mit folgenden Code können Sie dann auf diese Seite zugreifen. Dieser Code ist unter “Backend Standardtext” einzutragen.

<?php
// -------------------------------------!!!! Don´t touch !!!!---------------------------------
// obligate check for phpwcms constants
   if (!defined('PHPWCMS_ROOT')) {die("You Cannot Access This Script Directly, Have a Nice Day."); }
// -------------------------------------------------------------------------------------------
?>
 
<?php
function url_include($url) {
  $ch = curl_init();
  $timeout = 1;
  curl_setopt ($ch, CURLOPT_URL, $url);
  curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
  $result = curl_exec($ch);
  curl_close($ch);
  return $result;
}
?>
 
<?php $include = url_include("http://hier IUhre NewsWebseite/index.php");
print $include; ?>

hier die index.php - welche die News Seite bildet:

</br>
<style type="text/css">
<!--
.rahmen {
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-top-color: #92A1AF;
    border-bottom-color: #92A1AF;
    border-spacing: 2px;
}
.hoehe {
    padding: 2px 0 4px 5px;}
 
-->
</style>
 
<h1 class="title">News & Kontakt</h1>
    <table class="rahmen" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
      <tr>
        <td class="hoehe"><b>DVA-Datenverarbeitung - Markus Schartner</b></td>
      </tr>
      <tr>
        <td class="hoehe" bgcolor="#E1E1C8"><img src="http://www.example.com/bilder/text_1.gif" alt="Email" width="11" height="15" border="0" align="top"><a href="mailto:Ihre Emailadresse"> Email</a></td>
      </tr>
      <tr>
        <td class="hoehe" bgcolor="#F0F0E3"><img src="http://www.example.com/bilder/text_1.gif" alt="Telefon" width="11" height="15" align="top"> Telefon: Ihre telefonnummer</td>
      </tr>
      <tr>
        <td class="hoehe" bgcolor="#E1E1C8"><p><b>NEWS</b><br /><br />
          Jetzt Onlinegang der Seite
<br />
        </p></td>
      </tr>
 
    </table>

Markus Schartner 2009/10/24 12:37

deutsch/phpwcms-system/admin/backend-standardtext.txt · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0