Re: Need To Install the Punportal or Miniportal at another directory. help
that is all included in PunPortal. You would have to cut and paste and edit a little but that should be ok. Still wanna chat?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Need To Install the Punportal or Miniportal at another directory. help
that is all included in PunPortal. You would have to cut and paste and edit a little but that should be ok. Still wanna chat?
You may use extern.php for the last five posts; code for a search box may be found elsewhere in these forums; code for a login box is available at the Punres wiki.
better take the code for the login box from the miniportal, because there it is actually a box on the side
better take the code for the login box from the miniportal, because there it is actually a box on the side
Agreed -- I'd forgotten that the miniportal tutorial had a login block. Thanks for mentioning it.
but i saw the code of login in miniportal and copy past it and it gave me some error
what exactly?
and what is extern.php .. i never saw that file ...
<?php
// Show login if not logged in
if($pun_user['is_guest'])
{
if(!isset($focus_element) || (isset($focus_element) && !in_array('login', $focus_element)))
{
// Load the language files
require PUN_ROOT.'lang/'.$pun_user['language'].'/common.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
// Try to determine if the data in HTTP_REFERER is valid (if not, we redirect to index.php after login)
$redirect_url = (isset($_SERVER['HTTP_REFERER']) && preg_match('#^'.preg_quote($pun_config['o_base_url']).'/(.*?)\.php#i', $_SERVER['HTTP_REFERER'])) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : 'index.php';
$required_fields = array('req_username' => $lang_common['Username'], 'req_password' => $lang_common['Password']);
?>
<div class="block">
<h2><span>Login</span></h2>
<div id="login" class="box">
<div class="inbox">
<div class="logintop">
<form id="login" name="login" name="qpost" method="post" action="login.php?action=in" onsubmit="return process_form(this)">
<div style="text-align: center" class="inform">
<p>
<input type="hidden" name="form_sent" value="1" />
<input type="hidden" name="redirect_url" value="<?php echo $redirect_url ?>" />
<?php echo $lang_common['Username'] ?><br />
<input type="text" name="req_username" size="16" maxlength="25" /><br /><br />
<?php echo $lang_common['Password'] ?><br />
<input type="password" name="req_password" size="16" maxlength="16" wrap="virtual" onkeypress="if(event.keyCode==13) document.login.submit()" /><br /><br />
<input type="submit" name="login" value="<?php echo $lang_common['Login'] ?>" tabindex="3" /><br /><br />
<a href="register.php"><?php echo 'Register Now!'; ?></a>
</p>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
}
}
this for login that i tried from miniportal but didnt work
try the following in front of "//Show login if not logged in":
define('PUN_ROOT', './forum/');
require PUN_ROOT.'include/common.php';
That should make it work.
If it still produces an error please post the error text here
ok i will try it
and what is extern.php .. i never saw that file ...
Read PunBB's documentation.
i got this error : Parse error: syntax error, unexpected '<' in /www/110mb.com/c/r/i/c/k/e/t/s/cricketstreams/htdocs/index.php on line 181
Look at my index.php
<title>Live Cricket World And Entertainment</title>
<link rel="stylesheet" type="text/css" href="Forum/style/Mercury.css" />
<script type="text/javascript" src="Forum/style/imports/minmax.js"></script>
<style type="text/css">
#main
{
margin-left: 190px;
}
#left
{
float: left;
width: 180px
}
</style>
<div id="punwrap">
<div id="punindex" class="pun">
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<p align="center"><img border="0" src="http://live-cricket-world.info/Forum/include/user/header1.jpg" width="760" height="166"></p>
<p><span></span></p>
</div>
<div id="brdmenu" align="center" class="inbox">
<ul>
<li id="navindex"><a href="index.php">Home</a></li>
<li id="navindex"><a href="Forum/index.php">Forum</a></li>
<li id="navuserlist"><a href="Forum/userlist.php">User list</a></li>
<li id="navrules"><a href="Forum/misc.php?action=rules">Rules</a></li>
<li id="navsearch"><a href="Forum/search.php">Search</a></li>
<li id="navextra1"><a href="http://live-cricket-world.info/Forum/arcade.php">Arcade</a></li>
<li id="navextra2"><a href="http://live-cricket-world.info/Forum/page.php?id=33">Online TVUPlayer</a></li>
<li id="navextra3"><a href="http://live-cricket-world.info/Forum/page.php?id=34">Online SopCast Player</a></li>
<li id="navextra4"><a href="http://live-cricket-world.info/Forum/page.php?id=122">Online WMP TV</a></li>
</ul>
</div>
</div>
</div>
<div id="left">
<div id="portalnavigation" class="block"><h2><span>Menu</span></h2><div class="box"><div class="inbox">
<ul>
<li id="navindex"><a href="index.php">Home</a></li>
<li id="navindex"><a href="Forum/index.php">Forum</a></li>
<li id="navuserlist"><a href="Forum/userlist.php">User list</a></li>
<li id="navrules"><a href="Forum/misc.php?action=rules">Rules</a></li>
<li id="navsearch"><a href="Forum/search.php">Search</a></li>
<li id="navextra1"><a href="http://live-cricket-world.info/Forum/arcade.php">Arcade</a></li>
<li id="navextra2"><a href="http://live-cricket-world.info/Forum/page.php?id=33">Online TVUPlayer</a></li>
<li id="navextra3"><a href="http://live-cricket-world.info/Forum/page.php?id=34">Online SopCast Player</a></li>
<li id="navextra4"><a href="http://live-cricket-world.info/Forum/page.php?id=122">Online WMP TV</a></li>
</ul>
</div></div></div>
<div id="portalshoutbox" class="block2"><h2><span>Shoutbox</span></h2>
<div class="box"><div class="inbox">
<!-- Begin ShoutMix - http://www.shoutmix.com -->
<p align="center">
<iframe title="SuperMAG" src="http://www2.shoutmix.com/?SuperMAG" width="176" height="400" frameborder="0" scrolling="auto">
<a href="http://www2.shoutmix.com/?SuperMAG">View shoutbox</a></iframe>
</p>
<!-- End ShoutMix -->
</div>
</div>
</div>
<p></p>
<p></p>
<div id="portaladsense" class="block2"><h2><span>Login or Register</span></h2>
<div class="box"><div class="inbox">
<?php
define('PUN_ROOT', './forum/');
require PUN_ROOT.'include/common.php';
// Show login if not logged in
if($pun_user['is_guest'])
{
if(!isset($focus_element) || (isset($focus_element) && !in_array('login', $focus_element)))
{
// Load the language files
require PUN_ROOT.'lang/'.$pun_user['language'].'/common.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
// Try to determine if the data in HTTP_REFERER is valid (if not, we redirect to index.php after login)
$redirect_url = (isset($_SERVER['HTTP_REFERER']) && preg_match('#^'.preg_quote($pun_config['o_base_url']).'/(.*?)\.php#i', $_SERVER['HTTP_REFERER'])) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : 'index.php';
$required_fields = array('req_username' => $lang_common['Username'], 'req_password' => $lang_common['Password']);
?>
<div class="block">
<h2><span>Login</span></h2>
<div id="login" class="box">
<div class="inbox">
<div class="logintop">
<form id="login" name="login" name="qpost" method="post" action="login.php?action=in" onsubmit="return process_form(this)">
<div style="text-align: center" class="inform">
<p>
<input type="hidden" name="form_sent" value="1" />
<input type="hidden" name="redirect_url" value="<?php echo $redirect_url ?>" />
<?php echo $lang_common['Username'] ?><br />
<input type="text" name="req_username" size="16" maxlength="25" /><br /><br />
<?php echo $lang_common['Password'] ?><br />
<input type="password" name="req_password" size="16" maxlength="16" wrap="virtual" onkeypress="if(event.keyCode==13) document.login.submit()" /><br /><br />
<input type="submit" name="login" value="<?php echo $lang_common['Login'] ?>" tabindex="3" /><br /><br />
<a href="register.php"><?php echo 'Register Now!'; ?></a>
</p>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
}
}
</div></div>
</div>
<p></p>
<p></p>
<div id="portaladsense" class="block2"><h2><span>Advertisements</span></h2>
<div class="box"><div class="inbox">
<p align="center"><script type="text/javascript"><!--
google_ad_client = "pub-8997487508131027";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
//2007-05-13: www.live-cricket-world.info
google_ad_channel = "0369235261";
google_color_border = "383838";
google_color_bg = "383838";
google_color_link = "F6B620";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
</div></div>
</div>
<p></p>
<p></p>
<div id="portalshoutbox" class="block2"><h2><span>Tools</span></h2>
<div class="box"><div class="inbox">
<p align="center"><a href="http://www.amazingcounters.com"><img border="0" src="http://c6.amazingcounters.com/counter.php?i=1373764&c=4121605" alt="Free Hit Counters"></a><br><small><a href="http://www.ezisp.info/high-speed/dsl.html"><font color="#999999">DSL</font></a> <a href="http://www.ezisp.info"><font color="#999999">ISP</font></a> <a href="http://www.ezisp.info/service/"><font color="#999999">Providers</font></a></small></p>
<p align="center"><a href="http://www.iwebtool.com" target="_blank">
<img alt="FREE Webmaster Tools" src="http://www.iwebtool.com/images/pagerank_numimage.png" border="0" width="75" height="26"></a></p>
<p align="center"><!---The Pak Ranks Box--->
<a href="http://www.pakranks.com/" target="_top">
<script type="text/javascript"><!--
d0=document;n0=navigator.appName;s0=screen;m0='height="6'
+'7" alt="Click here to visit The Pak Ranks">';k0='<img '
+'width="92" border="0" src="http://www.pakranks.com/';
l0='ranks/ranks.cgi?ID=26001&SW='+(s0.width?s0.width:'')+
'&SC='+(n0!="Netscape"?s0.colorDepth:s0.pixelDepth)+'&B';
//--></script><noscript><img height="67" border="0"
alt="Click here to visit The Pak Ranks" width="92"
src="http://www.pakranks.com/ranks/ranks.cgi?ID=26001&"></noscript><script type="text/javascript"
src="http://www.pakranks.com/t.js"></script></a>
<!---The Pak Ranks Box--->
<p align="center"><!-- The Hindi Ranks Box -->
<!-- Any change to this code will permanently disable your account! -->
<SCRIPT LANGUAGE="JavaScript">
<!--
cat=13; id=12746;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="http://www.hindiranks.com/rankme.js" TYPE="text/javascript"></SCRIPT>
<!---The Hindi Ranks Box--->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1156930-1";
urchinTracker();
</script>
<p align="center"> <!-- Histats.com START -->
<script type="text/javascript" language="javascript">
var s_sid = 21840;var st_dominio = 4;
var cimg = 511;var cwi =95;var che =18;
</script>
<script type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript>
<a href="http://www.histats.com" target="_blank">
<img src="http://s4.histats.com/stats/0.gif?21840&1" alt="free counter statistics" border="0"></a></noscript>
<!-- Histats.com END -->
<p align="center"><!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=1979163;
var sc_invisible=0;
var sc_partition=18;
var sc_security="2e6e7d95";
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript>
<a href="http://www.statcounter.com/" target="_blank"><img src="http://c19.statcounter.com/counter.php?sc_project=1979163&java=0&security=2e6e7d95&invisible=0" alt="web statistics" border="0"></a></noscript>
<!-- End of StatCounter Code -->
<p align="center"><A HREF="http://www.copyscape.com/"><IMG SRC="http://banners.copyscape.com/images/cs-wh-3d-88x31.gif" ALT="Page copy protected against web site content infringement by Copyscape" TITLE="Do not copy content from the page. Plagiarism will be detected by Copyscape." WIDTH="88" HEIGHT="31" BORDER="0"></A></p>
</div></div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>Announcement</span></h2>
<div class="box">
<div class="inbox">
<div>
<p align="center"><script type="text/javascript"><!--
google_ad_client = "pub-8997487508131027";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-05-12: www.live-cricket-world.info
google_ad_channel = "0369235261";
google_color_border = "383838";
google_color_bg = "383838";
google_color_link = "F6B620";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
</tr>
<tr>
<td width="100%" height="62">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>News - Sunday, 13 May 2007 - Strauss to lead England at Lord's</span></h2>
<div class="box">
<div class="inbox">
<div>
<p><b>Andrew Strauss will captain England in the first Test against West Indies
at Lord's on Thursday, and wicket-keeper Matt Prior will make his Test debut.
</b></p>
<p>Michael Vaughan misses out after failing to recover from a broken finger, but
will hope to be fit for the second Test at Headingley from 25 May. <br>
<font size="2">
<img alt="Andrew Strauss" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42918000/jpg/_42918341_strauss.jpg" border="0" align="right" width="203" height="152"></font><br>
Batsman Owais Shah is included, but there are no places for Lancashire pair
James Anderson and Sajid Mahmood. <br>
<br>
Liam Plunkett is one of three Durham players to feature in a squad of 12. </p>
<p>As expected, number one batsman Kevin Pietersen has shrugged off a calf
muscle injury to be fit for selection. </p>
<p>Strauss led England to a 3-0 Test series win over Pakistan in the summer of
2006 when both Vaughan and Andrew Flintoff were injured. </p>
<p>Though Flintoff is fit and will play at Lord's, the Lancashire all-rounder
struggled as captain during the Ashes tour and was later stripped of the
vice-captaincy for indiscipline during the World Cup. </p>
<p>Prior has beaten England's World Cup wicket-keeper Paul Nixon to selection,
despite enduring some rocky form with the bat for Sussex in the early part of
the season. </p>
<p>Shah scored 88 in his only Test appearance in Mumbai in March 2006, and has
been a heavy run-scorer for Middlesex in the past three seasons. </p>
<p>It was felt he struggled to fit into previous coach Duncan Fletcher's
long-term plans, but has worked well with new coach Peter Moores at the Academy.
</p>
<p>Assuming Pietersen is fit, however, Shah is likely to be left out of the
starting side with England set to play four seamers and a spinner in the Test.
</p>
<p>Chairman of selectors David Graveney told BBC Radio Five Live: "Everybody is
aware that [Vaughan] fractured his finger, unfortunately, in the game against
Hampshire. </p>
<p>"We monitored his progress and we felt that there was a very slim chance of
him playing. </p>
<p>"We did not want to go down the route of injections or him trying to play
when not 100% fit and I don't think it would have been fair to Andrew Strauss
either. </p>
<p>"The waters would have been muddied. He will be with the team and will
continue his rehab and hopefully will be fit for the second Test. </p>
<p>"With a broken finger you suddenly turn a corner. At the present stage he can
get his hand in a glove and he is doing really well. <font size="2">
<img alt="Matt Prior" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42918000/jpg/_42918403_prior203.jpg" border="0" align="right" width="203" height="152"></font></p>
<p>"But let's not take the risk. We have done this before, trying to cut
corners. Let nature take its course." </p>
<p>"The selectors came to the conclusion that Andrew Strauss did a very good
last summer but in Andrew Flintoff's case we want him to concentrate on his
batting and bowling." </p>
<p>Unsurprisingly, Graveney admitted that the wicket-keeping area had been a
prime area of debate. </p>
<p>He said: "There are a lot of contenders out there to keep wicket. We only put
two wicket-keepers in the performance squad but we could have put six in. </p>
<p>"[Prior] has been involved with the set-up and has played international
one-day cricket. It was a close call but his capabilities of scoring runs, which
he has shown over quite a long period of time with Sussex, probably swung the
balance." </p>
<p>Plunkett will be one of the happiest men in English cricket following the
squad announcement. </p>
<p>A peripheral figure on the Ashes tour, he mystifyingly lost his place in the
one-day starting XI during the World Cup despite some strong performances. </p>
<p>But he has outbowled both Anderson and Mahmood in county cricket this season.
</p>
<font size="2"><hr></font>
<p><b>England squad:</b> Andrew Strauss (captain), Alastair Cook, Ian Bell,
Kevin Pietersen, Paul Collingwood, Andrew Flintoff, Matt Prior, Liam Plunkett,
Steve Harmison, Matthew Hoggard, Monty Panesar, Owais Shah. </p>
</tr>
<tr>
<td width="100%" height="97">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>News - Saturday, 12 May 2007 - Gambhir inspires India series win</span></h2>
<div class="box">
<div class="inbox">
<div>
<p><b>One-day international, Mirpur: India 284-8 (49 overs) beat Bangladesh
238-9 (49 overs) by 46 runs
<a class="bodl" href="http://news.bbc.co.uk/sport1/shared/fds/hi/statistics/cricket/scorecards/2007/5/14161/html/scorecard.stm">
Scorecard</a></b></p>
<p>Gautam Gambhir hit his second one-day century as India won their series in
Bangladesh with a game to spare. </p>
<font size="2">
<div>
<p align="right">
<img alt="Gautam Gambhir" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42915000/jpg/_42915917_gambhir203.jpg" border="0" align="right" width="203" height="152">
</div>
</font>
<p>The left-handed opener made 101 off 113 balls, including 11 fours, as they
totalled 284-8 from 49 overs in Dhaka. </p>
<p>The tourists then restricted Bangladesh to 238-9 in reply, with 18-year-old
leg-spinner Piyush Chawla taking 3-38. </p>
<p>Mashrafe Mortaza hit four successive sixes off Dinesh Mongia in his 42 off 22
balls but it was not enough as India wrapped up a 46-run victory.
<!-- E SF --></p>
<p>Both sides made one change with Bangladesh recalling pace bowler Mashrafe
Mortaza and India giving Chawla his one-day debut in place of Shanthakumaran
Sreesanth. </p>
<p>Gambhir and Virender Sehwag put on 43 from the first seven overs after Rahul
Dravid won the toss before Sehwag (21) hit Syed Rasel to a diving Javed Omar at
mid-off. </p>
<p>Mahendra Dhoni was promoted up the order after his match-winning 91 not out
in the opening game of the best of three series and batted responsibly to help
Gambhir add 87 for the second wicket. </p>
<p>Dhoni made 36 before edging to the keeper off Mohammad Rafique, who claimed
his second success by taking a return catch to remove the dangerous Yuvraj Singh
for 24. </p>
<p>But Gambhir continued to use his feet superbly to combat the spinners and his
placement was equally good as he reached three figures off 111 balls, his first
limited overs century since making 103 against Sri Lanka in 2005. </p>
<p>A weary swipe across the line saw him bowled by Rasel and Bangladesh picked
up four more wickets late on as India tried to accelerate, Rafique finishing
with figures of 3-59. <img alt="Piyush Chawla takes a wicket" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42916000/jpg/_42916387_chawla203ap.jpg" border="0" align="right" width="203" height="152"></p>
<p>The home side were soon in trouble at the start of their innings with Tamim
Iqbal gesturing in frustration at partner Javed Omar after being sent back when
he called for a quick single, only to be beaten by Chawla's throw and run out
for seven. </p>
<p>Omar (11) and Saqibul Hasan fell to Zaheer Khan and Mohammad Ashraful (12)
followed when he was deceived by Chawla's googly and edged an attempted cut into
his stumps. </p>
<p>Aftab Ahmed hit a six and five fours in an aggressive 40 but was bowled when
he was lured down the pitch by off-spinner Ramesh Powar and failed to make
contact. </p>
<p>Habibul Bashar (43) and Mushfiqur Rahim (35) put on 59, but when Bashar was
stumped off Chawla, his side were in the impossible position of having to score
another 108 runs off just eight and half overs to win. </p>
<p>Mortaza gave local supporters something to cheer with his assault on Mongia,
a tremendous effort considering he was suffering from cramp, but he holed out
off Chawla at the start of the penultimate over. </p>
</tr>
<tr>
<td width="100%" height="97">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>News - Saturday, 12 May 2007 - Morton stakes Windies Test claim</span></h2>
<div class="box">
<div class="inbox">
<div>
<p><b>Tour match, Taunton: West Indies 237-4 v Somerset (day one, stumps)
<a class="bodl" href="http://news.bbc.co.uk/sport1/shared/fds/hi/statistics/cricket/scorecards/2007/5/14066/html/scorecard.stm">
Match scorecard</a></b></p>
<p>Runako Morton was the star attraction for West Indies on day one of their
warm-up match against Somerset. </p>
<p>After hitting 15 fours and two big sixes in his 103 the Nevis right-hander
limped off with a leg injury before the tourists closed on 237-4 at Taunton.
<font size="2">
<img alt="R Morton" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42917000/jpg/_42917315_morton203.jpg" border="0" align="right" width="203" height="152"></font></p>
<p>But Morton said later: "It was just a light strain - nothing to worry about.
</p>
<p>"Playing in these conditions, you need to play within your strengths - the
aim for us on Sunday will be to get as much batting practice as we can."
<!-- E SF --></p>
<p>Morton and Shiv Chanderpaul (82no) had combined well to take the tourists out
of a hole at 44-4 in the morning. </p>
<p>Morton's sixes came off Michael Munday, one into the Ian Botham Stand, the
other deposited into the River Tone. </p>
<p>After West Indies had won the toss, Daren Ganga and Chris Gayle put on 26 for
the first wicket before Steffan Jones had vice-captain Ganga lbw playing across
the line. </p>
<p>Then Gayle dragged a wayward half-volley from Mark Turner onto his stumps,
before James Hildreth picked up a sharp chance in the covers to remove Devon
Smith. <font size="2">
<img alt="Steffan Jones " hspace="0" src="http://newsimg.bbc.co.uk/media/images/42916000/jpg/_42916409_steffan_jones203.jpg" border="0" align="right" width="203" height="152"></font></p>
<p>Jones, who bowled 20 wicketless overs against Northants in a match finishing
on Friday, took his third wicket when removing skipper Ramnaresh Sarwan, lbw
playing a backward defensive shot. </p>
<p>It was not what coach David Moore would have wanted, but Chanderpaul and
Morton turned things round emphatically as they began their partnership before
lunch. </p>
<p>A flurry of Morton boundaries broke the shackles, and he raised the bar in
the afternoon with more attacking shots - leg-spinner Munday singled out for the
most severe treatment. </p>
<p>Morton always scored faster than Chanderpaul, who nudged and nurdled before
opening his shoulders later in the day between rain breaks. </p>
<p>Thirteen players from each side can take part in this three-day match, with
11 batting and 11 in the field at any one time.<!-- E BO --> </p>
</tr>
<tr>
<td width="100%" height="97">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>News - Saturday, 12 May 2007 - Pakistan opener Farhat punished</span></h2>
<div class="box">
<div class="inbox">
<div>
<p dir="ltr"><b>Pakistan have fined opener Imran Farhat and put him on a
six-month probationary period for showing dissent to the selectors after being
dropped.</b></p>
<p dir="ltr">Farhat was left out of the squad to face Sri Lanka and telephoned
chief selector Salahuddin Ahmed to complain. <font size="2">
<img alt="Imran Farhat" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42915000/jpg/_42915843_farhat203.jpg" border="0" align="right" width="203" height="152"></font></p>
<font size="2"></font>
<p dir="ltr">Salahuddin sent the Pakistan Cricket Board a written complaint, in
which he said Farhat's father-in-law had complained in person about the move.
</p>
<p dir="ltr">Farhat, who later apologised, will be fined half of his next match
fee.
<!-- E SF --></p>
<p dir="ltr">PCB director of operations Zakir Khan said: "During the next six
months his behaviour and attitude will be closely monitored. </p>
<p dir="ltr">"We took a lenient attitude with him this time because of his past
record and apology, but the board is firm on having a zero tolerance policy on
players indulging in indiscipline or dissent with officials." </p>
<p dir="ltr">Farhat has played 27 Tests and 33 one-day internationals for his
country. </p>
<p dir="ltr">Pakistan's squad leave on Wednesday for the three games against Sri
Lanka which take place in Abu Dhabi on 18, 20 and 22 May. </p>
</tr>
<tr>
<td width="100%" height="97">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>News - Tuesday, 8 May 2007 - Malik captaincy good for Pakistan</span></h2>
<div class="box">
<div class="inbox">
<div>
<p><b>When Inzamam-ul-Haq relinquished the Pakistan captaincy after the team's
traumatic World Cup campaign there was no obvious replacement. </b></p>
<p>Given the propensity for batsmen as international captains most would have
assumed that senior players Younis Khan or Mohammad Yousuf would fill the
considerable void left by Inzy. Malik has much to contend with in his new
position.</p>
<p>Younis quickly ruled himself out of contention but Yousuf openly revealed his
desire to skipper the side. </p>
<div>
<img alt="Shoaib Malik" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42897000/jpg/_42897959_shoaibmalik270.jpg" border="0" align="right" width="203" height="270">
</div>
<p>Instead a new Pakistan selection panel chose Shoaib Malik, a versatile
25-year-old off-spinning all-rounder from the Punjab with a modest record in his
eight years as an international. </p>
<p>Bearing in mind the often fractious nature of the Pakistan team, to the
outsider the appointment of Malik to orchestrate their assorted characters might
have been something of a surprise. </p>
<p>But, as former Pakistan captain Asif Iqbal told BBC Sport, seasoned Pakistan
observers regard it as a shrewd move. </p>
<p>"I know one thing for sure, that Bob Woolmer was very appreciative of his
talents and his efforts in the team," the former all-rounder and international
official revealed. </p>
<p>"I remember him saying personally to me that he always rated Malik as a
future captain, he thought very highly of him. </p>
<p>"A captain has to be given time to see how he commands respect. </p>
<p>"This is one position where you can't demand respect. That means you are not
good enough; you have to command respect. </p>
<p>But can a player who has played only 18 Tests, scoring one century and taking
13 wickets, bring the best out of mercurial figures such as Shoaib Akhtar and
Shahid Afridi? </p>
<p>Iqbal said: "The board and the selection committee have given a very clear
message to all the members, not just the seniors, that they expect the team to
give their full support to the captain and play to their best capabilities. </p>
<p>"If the board or the captain feel that any player x, y or z is not giving
their best to the team he will not be considered for future matches.
<font size="2">
<img alt="Inzamam and Shoaib Malik" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42897000/jpg/_42897917_malik203.jpg" border="0" align="right" width="203" height="152"></font></p>
<p>"It's very similar to Graeme Smith." </p>
<p>(The South African captain was appointed in 2003 aged 22, having played only
eight Tests and 22 one-day matches.) </p>
<p>"Shoaib Malik has to lead from the front. He is capable of doing well for
himself, his position in the team is reasonably secure." </p>
<p>Iqbal, who captained the side for six matches against India in 1979-80,
believes that a new Pakistan selection hierarchy was determined to adopt a
similarly fresh approach with their choice of leader. </p>
<p>This follows a turbulent recent period in which there have been drug test
failures, match-fixing scandals, ball-tampering allegations, a forfeited Test
and the murder of coach Bob Woolmer. </p>
<p>"If they had gone with Younis or Yousuf they would have been continuing with
a regime that did not perform as well as it should have." </p>
<p>Not that Malik has been without his problems. He has twice been reported for
a suspect bowling action and in 2005 was banned for one Test match after
admitting throwing a domestic Twenty20 match. <font size="2">
<img height="152" alt="Inzamam, Shoaib Akhtar and Younis Khan" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42897000/jpg/_42897793_pakistan203.jpg" width="203" border="0" align="right"></font></p>
<p>Iqbal, who began his international career aged 21 and played 58 Tests and 10
ODIs between 1964-80, insists this need not be a factor. But to perhaps
complicate matters further, Inzamam will continue to play in the Test team. </p>
<p>"By making Malik captain the Pakistan board has given the signal that they
are looking for a change in direction, approach and a long-term policy. </p>
<p>"I am fully supportive of the appointment, it was badly needed. Of the
younger order he is the only one capable of leading the side."<!-- E BO --> </p>
</tr>
<tr>
<td width="100%" height="97">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="brdfooter" class="block">
<h2><span>Board footer</span></h2>
<div class="box">
<div class="inbox">
<p class="conr">Powered by <a href="http://www.punbb.org/">PunBB</a><br />© Copyright 2002?2005 Rickard Andersson</p>
<div class="clearer"></div>
</div>
</div>
</div>
try this:
<title>Live Cricket World And Entertainment</title>
<link rel="stylesheet" type="text/css" href="Forum/style/Mercury.css" />
<script type="text/javascript" src="Forum/style/imports/minmax.js"></script>
<style type="text/css">
#main
{
margin-left: 190px;
}
#left
{
float: left;
width: 180px
}
</style>
<div id="punwrap">
<div id="punindex" class="pun">
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<p align="center"><img border="0" src="http://live-cricket-world.info/Forum/include/user/header1.jpg" width="760" height="166"></p>
<p><span></span></p>
</div>
<div id="brdmenu" align="center" class="inbox">
<ul>
<li id="navindex"><a href="index.php">Home</a></li>
<li id="navindex"><a href="Forum/index.php">Forum</a></li>
<li id="navuserlist"><a href="Forum/userlist.php">User list</a></li>
<li id="navrules"><a href="Forum/misc.php?action=rules">Rules</a></li>
<li id="navsearch"><a href="Forum/search.php">Search</a></li>
<li id="navextra1"><a href="http://live-cricket-world.info/Forum/arcade.php">Arcade</a></li>
<li id="navextra2"><a href="http://live-cricket-world.info/Forum/page.php?id=33">Online TVUPlayer</a></li>
<li id="navextra3"><a href="http://live-cricket-world.info/Forum/page.php?id=34">Online SopCast Player</a></li>
<li id="navextra4"><a href="http://live-cricket-world.info/Forum/page.php?id=122">Online WMP TV</a></li>
</ul>
</div>
</div>
</div>
<div id="left">
<div id="portalnavigation" class="block"><h2><span>Menu</span></h2><div class="box"><div class="inbox">
<ul>
<li id="navindex"><a href="index.php">Home</a></li>
<li id="navindex"><a href="Forum/index.php">Forum</a></li>
<li id="navuserlist"><a href="Forum/userlist.php">User list</a></li>
<li id="navrules"><a href="Forum/misc.php?action=rules">Rules</a></li>
<li id="navsearch"><a href="Forum/search.php">Search</a></li>
<li id="navextra1"><a href="http://live-cricket-world.info/Forum/arcade.php">Arcade</a></li>
<li id="navextra2"><a href="http://live-cricket-world.info/Forum/page.php?id=33">Online TVUPlayer</a></li>
<li id="navextra3"><a href="http://live-cricket-world.info/Forum/page.php?id=34">Online SopCast Player</a></li>
<li id="navextra4"><a href="http://live-cricket-world.info/Forum/page.php?id=122">Online WMP TV</a></li>
</ul>
</div></div></div>
<div id="portalshoutbox" class="block2"><h2><span>Shoutbox</span></h2>
<div class="box"><div class="inbox">
<!-- Begin ShoutMix - http://www.shoutmix.com -->
<p align="center">
<iframe title="SuperMAG" src="http://www2.shoutmix.com/?SuperMAG" width="176" height="400" frameborder="0" scrolling="auto">
<a href="http://www2.shoutmix.com/?SuperMAG">View shoutbox</a></iframe>
</p>
<!-- End ShoutMix -->
</div>
</div>
</div>
<p></p>
<p></p>
<div id="portaladsense" class="block2"><h2><span>Login or Register</span></h2>
<div class="box"><div class="inbox">
<?php
define('PUN_ROOT', './forum/');
require PUN_ROOT.'include/common.php';
// Show login if not logged in
if($pun_user['is_guest'])
{
if(!isset($focus_element) || (isset($focus_element) && !in_array('login', $focus_element)))
{
// Load the language files
require PUN_ROOT.'lang/'.$pun_user['language'].'/common.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
// Try to determine if the data in HTTP_REFERER is valid (if not, we redirect to index.php after login)
$redirect_url = (isset($_SERVER['HTTP_REFERER']) && preg_match('#^'.preg_quote($pun_config['o_base_url']).'/(.*?)\.php#i', $_SERVER['HTTP_REFERER'])) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : 'index.php';
$required_fields = array('req_username' => $lang_common['Username'], 'req_password' => $lang_common['Password']);
?>
<div class="block">
<h2><span>Login</span></h2>
<div id="login" class="box">
<div class="inbox">
<div class="logintop">
<form id="login" name="login" name="qpost" method="post" action="login.php?action=in" onsubmit="return process_form(this)">
<div style="text-align: center" class="inform">
<p>
<input type="hidden" name="form_sent" value="1" />
<input type="hidden" name="redirect_url" value="<?php echo $redirect_url ?>" />
<?php echo $lang_common['Username'] ?><br />
<input type="text" name="req_username" size="16" maxlength="25" /><br /><br />
<?php echo $lang_common['Password'] ?><br />
<input type="password" name="req_password" size="16" maxlength="16" wrap="virtual" onkeypress="if(event.keyCode==13) document.login.submit()" /><br /><br />
<input type="submit" name="login" value="<?php echo $lang_common['Login'] ?>" tabindex="3" /><br /><br />
<a href="register.php"><?php echo 'Register Now!'; ?></a>
</p>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
}
}
?>
</div></div>
</div>
<p></p>
<p></p>
<div id="portaladsense" class="block2"><h2><span>Advertisements</span></h2>
<div class="box"><div class="inbox">
<p align="center"><script type="text/javascript"><!--
google_ad_client = "pub-8997487508131027";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
//2007-05-13: www.live-cricket-world.info
google_ad_channel = "0369235261";
google_color_border = "383838";
google_color_bg = "383838";
google_color_link = "F6B620";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
</div></div>
</div>
<p></p>
<p></p>
<div id="portalshoutbox" class="block2"><h2><span>Tools</span></h2>
<div class="box"><div class="inbox">
<p align="center"><a href="http://www.amazingcounters.com"><img border="0" src="http://c6.amazingcounters.com/counter.php?i=1373764&c=4121605" alt="Free Hit Counters"></a><br><small><a href="http://www.ezisp.info/high-speed/dsl.html"><font color="#999999">DSL</font></a> <a href="http://www.ezisp.info"><font color="#999999">ISP</font></a> <a href="http://www.ezisp.info/service/"><font color="#999999">Providers</font></a></small></p>
<p align="center"><a href="http://www.iwebtool.com" target="_blank">
<img alt="FREE Webmaster Tools" src="http://www.iwebtool.com/images/pagerank_numimage.png" border="0" width="75" height="26"></a></p>
<p align="center"><!---The Pak Ranks Box--->
<a href="http://www.pakranks.com/" target="_top">
<script type="text/javascript"><!--
d0=document;n0=navigator.appName;s0=screen;m0='height="6'
+'7" alt="Click here to visit The Pak Ranks">';k0='<img '
+'width="92" border="0" src="http://www.pakranks.com/';
l0='ranks/ranks.cgi?ID=26001&SW='+(s0.width?s0.width:'')+
'&SC='+(n0!="Netscape"?s0.colorDepth:s0.pixelDepth)+'&B';
//--></script><noscript><img height="67" border="0"
alt="Click here to visit The Pak Ranks" width="92"
src="http://www.pakranks.com/ranks/ranks.cgi?ID=26001&"></noscript><script type="text/javascript"
src="http://www.pakranks.com/t.js"></script></a>
<!---The Pak Ranks Box--->
<p align="center"><!-- The Hindi Ranks Box -->
<!-- Any change to this code will permanently disable your account! -->
<SCRIPT LANGUAGE="JavaScript">
<!--
cat=13; id=12746;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="http://www.hindiranks.com/rankme.js" TYPE="text/javascript"></SCRIPT>
<!---The Hindi Ranks Box--->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1156930-1";
urchinTracker();
</script>
<p align="center"> <!-- Histats.com START -->
<script type="text/javascript" language="javascript">
var s_sid = 21840;var st_dominio = 4;
var cimg = 511;var cwi =95;var che =18;
</script>
<script type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript>
<a href="http://www.histats.com" target="_blank">
<img src="http://s4.histats.com/stats/0.gif?21840&1" alt="free counter statistics" border="0"></a></noscript>
<!-- Histats.com END -->
<p align="center"><!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=1979163;
var sc_invisible=0;
var sc_partition=18;
var sc_security="2e6e7d95";
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript>
<a href="http://www.statcounter.com/" target="_blank"><img src="http://c19.statcounter.com/counter.php?sc_project=1979163&java=0&security=2e6e7d95&invisible=0" alt="web statistics" border="0"></a></noscript>
<!-- End of StatCounter Code -->
<p align="center"><A HREF="http://www.copyscape.com/"><IMG SRC="http://banners.copyscape.com/images/cs-wh-3d-88x31.gif" ALT="Page copy protected against web site content infringement by Copyscape" TITLE="Do not copy content from the page. Plagiarism will be detected by Copyscape." WIDTH="88" HEIGHT="31" BORDER="0"></A></p>
</div></div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>Announcement</span></h2>
<div class="box">
<div class="inbox">
<div>
<p align="center"><script type="text/javascript"><!--
google_ad_client = "pub-8997487508131027";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-05-12: www.live-cricket-world.info
google_ad_channel = "0369235261";
google_color_border = "383838";
google_color_bg = "383838";
google_color_link = "F6B620";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
</tr>
<tr>
<td width="100%" height="62">
</font>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="block" id="portalwelcome">
<h2><span>News - Sunday, 13 May 2007 - Strauss to lead England at Lord's</span></h2>
<div class="box">
<div class="inbox">
<div>
<p><b>Andrew Strauss will captain England in the first Test against West Indies
at Lord's on Thursday, and wicket-keeper Matt Prior will make his Test debut.
</b></p>
<p>Michael Vaughan misses out after failing to recover from a broken finger, but
will hope to be fit for the second Test at Headingley from 25 May. <br>
<font size="2">
<img alt="Andrew Strauss" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42918000/jpg/_42918341_strauss.jpg" border="0" align="right" width="203" height="152"></font><br>
Batsman Owais Shah is included, but there are no places for Lancashire pair
James Anderson and Sajid Mahmood. <br>
<br>
Liam Plunkett is one of three Durham players to feature in a squad of 12. </p>
<p>As expected, number one batsman Kevin Pietersen has shrugged off a calf
muscle injury to be fit for selection. </p>
<p>Strauss led England to a 3-0 Test series win over Pakistan in the summer of
2006 when both Vaughan and Andrew Flintoff were injured. </p>
<p>Though Flintoff is fit and will play at Lord's, the Lancashire all-rounder
struggled as captain during the Ashes tour and was later stripped of the
vice-captaincy for indiscipline during the World Cup. </p>
<p>Prior has beaten England's World Cup wicket-keeper Paul Nixon to selection,
despite enduring some rocky form with the bat for Sussex in the early part of
the season. </p>
<p>Shah scored 88 in his only Test appearance in Mumbai in March 2006, and has
been a heavy run-scorer for Middlesex in the past three seasons. </p>
<p>It was felt he struggled to fit into previous coach Duncan Fletcher's
long-term plans, but has worked well with new coach Peter Moores at the Academy.
</p>
<p>Assuming Pietersen is fit, however, Shah is likely to be left out of the
starting side with England set to play four seamers and a spinner in the Test.
</p>
<p>Chairman of selectors David Graveney told BBC Radio Five Live: "Everybody is
aware that [Vaughan] fractured his finger, unfortunately, in the game against
Hampshire. </p>
<p>"We monitored his progress and we felt that there was a very slim chance of
him playing. </p>
<p>"We did not want to go down the route of injections or him trying to play
when not 100% fit and I don't think it would have been fair to Andrew Strauss
either. </p>
<p>"The waters would have been muddied. He will be with the team and will
continue his rehab and hopefully will be fit for the second Test. </p>
<p>"With a broken finger you suddenly turn a corner. At the present stage he can
get his hand in a glove and he is doing really well. <font size="2">
<img alt="Matt Prior" hspace="0" src="http://newsimg.bbc.co.uk/media/images/42918000/jpg/_42918403_prior203.jpg" border="0" align="right" width="203" height="152"></font></p>
<p>"But let's not take the risk. We have done this before, trying to cut
corners. Let nature take its course." </p>
<p>"The selectors came to the conclusion that Andrew Strauss did a very good
last summer but in Andrew Flintoff's case we want him to concentrate on his
batting and bowling." </p>
<p>Unsurprisingly, Graveney admitted that the wicket-keeping area had been a
prime area of debate. </p>
<p>He said: "There are a lot of contenders out there to keep wicket. We only put
two wicket-keepers in the performance squad but we could have put six in. </p>
<p>"[Prior] has been involved with the set-up and has played international
one-day cricket. It was a close call but his capabilities of scoring runs, which
he has shown over quite a long period of time with Sussex, probably swung the
balance." </p>
<p>Plunkett will be one of the happiest men in English cricket following the
squad announcement. </p>
<p>A peripheral figure on the Ashes tour, he mystifyingly lost his place in the
one-day starting XI during the World Cup despite some strong performances. </p>
<p>But he has outbowled both Anderson and Mahmood in county cricket this season.
</p>
<font size="2"><hr></font>
<p><b>England squad:</b> Andrew Strauss (captain), Alastair Cook, Ian Bell,
Kevin Pietersen, Paul Collingwood, Andrew Flintoff, Matt Prior, Liam Plunkett,
Steve Harmison, Matthew Hoggard, Monty Panesar, Owais Shah. </p>
</tr>
<tr>
<td width="100%" height="97">
</font>
</div>
</div>
</div>
</div>
</div>
this page opened but i got this error under the Login Menu
Warning: require(./forum/include/common.php) [function.require]: failed to open stream: No such file or directory in /www/110mb.com/c/r/i/c/k/e/t/s/cricketstreams/htdocs/login.php on line 109
Fatal error: require() [function.require]: Failed opening required './forum/include/common.php' (include_path='.:/usr/share/php') in /www/110mb.com/c/r/i/c/k/e/t/s/cricketstreams/htdocs/login.php on line 109
I gave you this earlier:
define('PUN_ROOT', './forum/');
require PUN_ROOT.'include/common.php';
Change it to this:
define('PUN_ROOT', './Forum/');
require PUN_ROOT.'include/common.php';
ok wait a sec
got another error : Parse error: syntax error, unexpected '<' in /www/110mb.com/c/r/i/c/k/e/t/s/cricketstreams/htdocs/index.php on line 181
tell u something , if it does not work then leave it .. the login box is second after last 5 or 10 posts
did you fix your index.php as i told you to?
yes and got another error : Parse error: syntax error, unexpected '<' in /www/110mb.com/c/r/i/c/k/e/t/s/cricketstreams/htdocs/index.php on line 181
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Need To Install the Punportal or Miniportal at another directory. help
Powered by PunBB, supported by Informer Technologies, Inc.