View Single Post
  #37  
Old 07-19-2003, 10:21 PM
CR- CR- is offline
 
Join Date: Jul 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I have now:

PHP Code:
<?
require("/home/dumbfoun/public_html/board/global.php");
echo "<font color=\"#FFFFFF\" face=\"Tahoma\" size=\"2\">\n";
if($bbuserinfo['userid']!=0) {
$username = $bbuserinfo['username'];
$ided =1;
echo "Welcome, $username";
}
else {
echo "Welcome, Guest";
}

echo "</td><td width=50% align=right>";
echo "<p align=right><font color=\"#FFFFFF\" face=\"Tahoma\" size=\"2\">\n";
echo "<nobr>";
echo date("l, M d Y");
echo "</nobr>";
?>
and

PHP Code:
<?
if(!$ided) {
echo "<p align=\"right\">";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<form action=\"/board/admin/member.php\" method=\"post\">";
echo "<tr>";
echo "<td nowrap><font face=\"verdana,arial,helvetica\" size=\"1\" color=\"white\"><b>Not cookied?</b><br>Login with username and password:</font>";
echo "</td>";
echo "</tr><tr>";
echo "<td nowrap><input type=\"hidden\" name=\"s\" value=\"769c1aabe4f6207720ccfac822020d95\">";
echo "<input type=\"hidden\" name=\"action\" value=\"login\">";
echo "<input type=\"text\" class=\"bginput\" name=\"username\" size=\"7\">";
echo "<input type=\"password\" class=\"bginput\" name=\"password\" size=\"7\">";
echo "<input type=\"submit\" class=\"bginput\" value=\"Login!\"></td>";
echo "</tr>";
echo "</form>";
echo "</table>";
echo "</p>";

}
?>
I get Warning: Cannot modify header information - headers already sent by (output started at /home/dumbfoun/public_html/index.php:6) in /home/dumbfoun/public_html/board/admin/functions.php on line 1652

Can anyone help? :/ I've already read https://vborg.vbsupport.ru/showthrea...threadid=47126 - it doesn't really help me distinguish a problem in the least... - all of that code is imbedded in my html in my index.php of my main site btw.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01243 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete