ich bekomm den code nicht angezeigt
http://www.world-of-beauty.at/phpBB2/index.php
hab vorgestern die version 2.0.18 installiert (komplette neuinstallation)
Code: Alles auswählen
<?php
// read config file
define('IN_PHPBB', true);
$phpbb_root_path = './';
$template_path= $phpbb_root_path . "templates/";
include($phpbb_root_path . 'config.php');
// connect to the database server
$db = mysql_connect($dbhost,$dbuser,$dbpasswd);
if (!$db) die("Unable to connect to database!\n");
// select the PHPBB database
mysql_select_db($dbname,$db);
$sql = "SELECT template_name, style_name FROM ".$table_prefix."themes";
$styles = mysql_query($sql,$db);
if ($styles === false)
die("No styles found!\n");
while ($check = mysql_fetch_array($styles))
{
$check_path1 = $template_path . $check['template_name'] . "/profile_add_body.tpl";
$check_path2 = $template_path . $check['template_name'] . "/admin/board_config_body.tpl";
$user_text = file_get_contents($check_path1);
$user = strpos(strtolower($user_text),"switch_confirm");
$config_text = file_get_contents($check_path2);
$config = strpos(strtolower($config_text),"visual_confirm");
echo "Style '".$check['style_name']."' ";
echo $user > 0 ? "supports " : "does not support ";
echo "Visual Confirmation for registration, ";
echo $config > 0 ? "supports " : "does not support ";
echo "Visual Confirmation configuration option.<br>\n";
}
?> Code: Alles auswählen
<tr>
<td class="row1">{L_VISUAL_CONFIRM}<br /><span class="gensmall">{L_VISUAL_CONFIRM_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="enable_confirm" value="1" {CONFIRM_ENABLE} />{L_YES} <input type="radio" name="enable_confirm" value="0" {CONFIRM_DISABLE} />{L_NO}</td>
</tr>Code: Alles auswählen
<!-- Visual Confirmation -->
<!-- BEGIN switch_confirm -->
<tr>
<td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br /><br />{CONFIRM_IMG}<br /><br /></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CONFIRM_CODE}: * </span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input type="text" class="post" style="width: 200px" name="confirm_code" size="6" maxlength="6" value="" /></td>
</tr>
<!-- END switch_confirm -->Jetzt ist es deaktiviertlaramaus77 hat geschrieben:funkt no imma ned![]()
hab das jetzt so gemacht www.world-of-beauty.at/profile_add_body.txt