#5 Re: Ayuda con php por favor
Este es el codigo que encontre donde aparecen los meta-tags. En los otros archivos que me mandaron no hay nada parecido, solo fragmentos de codigo php, pero ninguno que se parezca a este. Por lo que me decis, que deberia haber tambien uno de news, contact, etc.. me imagino entonces que se habran olvidado de pasarmelos, o me lo dieron incompleto. En fin gracias de nuevo maxi.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{txt_html_title}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" type="text/css" href="{CSS_FILE}">
<script LANGUAGE="JavaScript" SRC="{JS_FILE}"></script>
<!-- TinyMCE -->
<script type="text/javascript" src="{JS_TINY_MCE}"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "safari,spellchecker,pagebreak,style,layer,table,s ave,advhr,advimage,advlink,emotions,iespell,inline popups,insertdatetime,preview,media,searchreplace, print,contextmenu,paste,directionality,fullscreen, noneditable,visualchars,nonbreaking,xhtmlxtras,tem plate,imagemanager,filemanager",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft ,justifycenter,justifyright,justifyfull,|,formatse lect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,blockquote,|,und o,redo,|,link,unlink,image,insertimage,media,emoti ons,|,forecolor,backcolor,|,nonbreaking",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_path : false,
theme_advanced_resizing : true,
relative_urls : false,
// Example content CSS (should be your site CSS)
content_css : "css/example.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "js/template_list.js",
external_link_list_url : "js/link_list.js",
external_image_list_url : "js/image_list.js",
media_external_list_url : "js/media_list.js",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
<!-- /TinyMCE -->
</head>
<body>
{popup}
<div id="header"><center><div id="header-center">
{mod_login_form}
</div></center></div>
<div id="main"><center><div id="main-center">
<div id="main-right">
<div id="status-bar"><div id="status-bar-inner">
{txt_page_title}
</div></div>
<div class="pad10">
{mod_main_content}
</div>
</div>
<div id="main-left">
<!--span>{mod_main_language_menu}</span-->
{mod_main_menu}
{mod_user_menu}
<a target="_blank" href="http://www.varadinum.eu"><div class="banner120x240"> </div></a>
</div>
</div></center></div>
<div id="footer"><center><div id="footer-center">
<div id="footer-inner">Copyright ® Company-Info. All rights reserved.</div>
</div></center></div>
</body>
Ah, y te paso un ejemplo de lo que me sale en otro archivos php.
<?
include ( 'init.php' );
$site = new Site ( curPageURL( ), trim ( $_GET['path'] ) );
$site -> login ( );
define('IN_PHPBB', true);
$phpbb_root_path = dirname(__FILE__) . '/badpayersforum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include( $phpbb_root_path."common.php");
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
$username = $site->user['user_name'];
$password = $site->user['password1'];
if (is_array($site->user))
{
if(!$user->data['is_registered'])
{
$result = $auth->login($username, $password);
if ($result['status'] == LOGIN_SUCCESS)
{
//User was successfully logged into phpBB
}
else
{
//User's login failed
}
}
}
else
{
if($user->data['is_registered'])
{
$user->session_kill();
$user->session_begin();
}
}
$site -> out ( );
?>
<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
<script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-5294436-3"); pageTracker._trackPageview();} catch(err) {}</script>