コード例 #1
0
ファイル: help.php プロジェクト: GrottoCenter/GrottoCenter
?>
    <?php 
echo getMetaTags();
?>
    <title><?php 
echo $_SESSION['Application_title'];
?>
 <convert>#label=23<convert></title>
    <link rel="stylesheet" type="text/css" href="../css/global.css" />
    <link rel="stylesheet" type="text/css" href="../css/global_p.css" media="print" />
  </head>
  <body>
<?php 
if (!is_dir($phpbb_root_path)) {
    echo "<iframe src=\"http://www.grottocenter.org/html/help_" . $_SESSION['language'] . ".php?f=" . $forum . "&t=" . $topic . "\" frameborder=\"no\" width=\"100%\" height=\"100%\" scrolling=\"auto\"></iframe>";
    //include("http://www.grottocenter.org/html/help_".$_SESSION['language'].".php?f=".$forum."&t=".$topic);
} else {
    $posts = getForumPosts($forum, $topic);
    for ($i = 0; $i < $posts['Count']; $i++) {
        echo getTopFrame(false);
        echo "<h3>" . $posts[$i]['subject'] . "</h3>";
        echo $posts[$i]['text'];
        echo "<br/><br/><div class=\"credit\"><convert>#label=734<convert> " . date("l j F Y H:i:s T", $posts[$i]['date']) . "<br/>";
        echo "<a href=\"../phpBB3/viewtopic.php?f=" . $forum . "&amp;t=" . $topic . "\" target=\"_blank\"><convert>#label=737<convert><!--Voir ce topic sur le forum-->.</a></div>";
        echo getBotFrame(false);
    }
}
?>
  </body>
</html>
コード例 #2
0
ファイル: home.php プロジェクト: GrottoCenter/GrottoCenter
            </ul>
        </div>
      </td></tr>
<?php 
//CRO 2011-10-12
if (false) {
    $forum = array('Fr' => 29, 'En' => 28, 'Es' => 30, 'De' => 31);
    $posts = getForumPosts($forum[$_SESSION['language']]);
    if ($posts['Count'] > 0) {
        ?>
			<tr><td>
				<h3><convert>#label=889<convert><!--Communiqués :--></h3>
				<div class="home_news">
<?php 
        $forum = array('Fr' => 29, 'En' => 28, 'Es' => 30, 'De' => 31);
        $posts = getForumPosts($forum[$_SESSION['language']]);
        for ($i = 0; $i < $posts['Count']; $i++) {
            $text_rows = explode('<br />', $posts[$i]['text']);
            $first_text_row = $text_rows[0];
            echo "<div class=\"news_topic\">";
            echo "<a href=\"JavaScript:openWindow('help_Fr.php?f=" . $posts[$i]['forum_id'] . "&amp;t=" . $posts[$i]['topic_id'] . "', '', 800, 700);\"><span class=\"topic_title\">" . $posts[$i]['subject'] . "</span><br />";
            echo "<span class=\"topic_resume\">" . $first_text_row . "</span></a> <span class=\"topic_pty\"><convert>#label=734<convert> " . date("l j F Y H:i:s T", $posts[$i]['date']) . "</span>";
            echo "</div>";
        }
        ?>

<!-- Windows French and English Blogs-->
<h4>Community</h4>
<iframe frameborder="0" height="80" width="100%"
src="http://ag0p85pls00984bsg1fkeb3bkqkq4832-a-sites-opensocial.googleusercontent.com/gadgets/ifr?url=http://www.gstatic.com/sites-gadgets/rss-sites/rss_sites.xml&amp;container=enterprise&amp;view=home&amp;lang=fr&amp;country=ALL&amp;sanitize=0&amp;v=94af6509c613e505&amp;libs=core:setprefs:settitle&amp;mid=197&amp;parent=http://fr.wikicaves.org/actuality-actualite#up_bg_color=%23fff&amp;up_font_family=Sans+Serif&amp;up_items_to_show=1&amp;up_font_size=12&amp;up_display=0&amp;up_title_color=%2300c&amp;up_snippet=0&amp;up_txt_color=%23000&amp;up_rss_feed_url=http://blog-fr.grottocenter.org//feeds/posts/default&amp;st=e%3DAIHE3cBPYn3Oa8sAGdXI%252B6HCHZn5VWq6psN9uX3CxiAOqGxc00xDsCJKgeyIB0l2CRRi2TGF89aDMQm4rC42xWEjwutcVfXzmjQBTm%252Bru3hXlE%252F4xBV1Yz25xRRwdjAd4Xgu6uX%252BfldV%26c%3Denterprise&amp;rpctoken=4022344176915052636"></iframe>
<br>