Phpmywind Call Method Daquan

Source: Internet
Author: User
Tags echo info

Header file Invocation

<?php require_once ('header.php');?>

Bottom file Call

<?php require_once ('footer.php');?>

About our image call

<? PHP     = $dosql->getone ("");
?>

Head Banner Call

<?php
$dosql->execute ("select * from ' #@__infoimg ' WHERE classid=13 and delstate= ' and Checkinfo=true ORDER by OrderID DESC LIMIT 0,5 ");
while ($row = $dosql->getarray ())
{
if ($row [' linkurl ']! = ') $gourl = $row [' Linkurl '];
else $gourl = ' javascript:; ';
?>
<li></li>
<?php
}
?>

Popular Search calls $CFG_HOMERMSS

<b> Popular search: </b><?php echo $cfg _homermss;?>
<b> Popular search:</b><strong> Harbin move home Good </strong>|<strong> Harbin moving company which good </strong>|< Strong> Harbin Moving Company Tel </strong>|<strong> Harbin moving company which cheap </strong>

Site Title Keyword Description call

<?php echo GetHeader ();?>

index.php head keyword $cfg_hometitle;
<?php echo $cfg _homeif;?>
<title><?php echo $cfg _hometitle,?>-<?php echo $cfg _webname;? ><?php echo $cfg _weburl;? ></ Title>
<meta name= "keywords" content= "<?php echo $cfg _keyword;?>"/>
<meta name= "description" content= "<?php echo $cfg _description;?>"/>

Bottom information call

<?php Echo $cfg _copyright?>

Site Announcement Call

<?php Echo Info (1);?>

Home Contact Us (Note: Contact us with contact.php contact.html)

<? PHP     if ($cfg _isreurl!='Y'contact.php';     Else ' contact.html ' ;    Echo Info (ten,214, $gourl);? >

Home About Us Call (note: About us with about.php about.html)

<?PHPIF ($cfg _isreurl!= ' Y ') $gourl = ' about.php '; else $gourl = ' about.html '; Echo Info (3,147, $gourl);? >

Popular tag Calls

<?php echo $cfg _keyword;?>

Service Hotline Call

<?php echo $cfg _hotline;?>

Link call (Note ID classid=1 1 is the ID of the station column)

<?php$dosql->execute ("Select * from ' #@__weblink ' WHERE classid=1 and Checkinfo=true ORDER by Orderid,id DESC"); whi Le ($row = $dosql->getarray ()) {?>

<a href= "<?php echo $row [' Linkurl '];?>" target= "_blank" ><?php echo $row [' webname '];?></a> &nbsp;&nbsp;|&nbsp;
<?php
}
?>

Home Picture Scrolling Call

<?PHP $dosql->execute ("SELECT * from ' #@__infoimg ' WHERE classid=8 and and Delstate are NULL and Checkinfo=true ORDER by OrderID DESC LIMIT 0, -");  while($row = $dosqlGetArray ()) {    if($row ['Linkurl']=="'and $cfg _isreurl!='Y') $gourl ='product.php?cid='. $row ['ClassID'].'&id='. $row ['ID']; Else if($cfg _isreurl=='Y') $gourl ='product-'. $row ['ClassID'].'-'. $row ['ID'].'-1.html'; Else$gourl = $row ['Linkurl'];?> <li> <a href="<?php echo $gourl;?>" class="Imga"> "<?php echo $row [' Picurl '];?>"alt="<?php echo $row [' title '];?>"/> </a> <a href="<?php echo $gourl;?>" class="Titlea"> <?php echo $row ['title'];?> </a> </li><?php}?>

Below is back to the top JS effect directly plus so that

<link href="Templates/default/style/webstyle.css"Type="Text/css"Rel="stylesheet"/><script type="Text/javascript"Src="Templates/default/js/top.js"></script><script type="Text/javascript">$ (function () {JQuery ('. Lightbox'). Lightbox (); $(". showimg img"). LoadImage ({width: -, Height: -}); $(". Picarr. Picture img"). LoadImage ({width:530, Height: -}); $(". Picarr. Preview img"). LoadImage ({width: -, Height: $}); $(". Small"). Click (function () {$ ("#textarea"). CSS ('font-size','12px');}); $(". Big"). Click (function () {$ ("#textarea"). CSS ('font-size','14px');});});</script>

Home article call

<ul><?php $dosql->execute ("select * from ' #@__infolist ' WHERE (classid=4 or parentid=4) and delstate= ' and CH Eckinfo=true ORDER by OrderID DESC LIMIT 0,6 "), while ($row = $dosql->getarray ()) {//Get the link address if ($row [' Linkurl ']== ' and $ cfg_isreurl!= ' Y ') $gourl = ' newsshow.php?cid= '. $row [' ClassID ']. ' &id= '. $row [' id '];else if ($cfg _isreurl== ' Y ') $gourl = ' newsshow-'. $row [' ClassID ']. ' -'. $row [' id ']. ' -1.html '; else$gourl = $row [' Linkurl '];? ><li><a href= "<?php echo $gourl;?>" class= "NEWSA" ><?php Echo restrlen ($row [' title '],25);? ></a><span id= "Newsspan" > "<?php echo mydate (' m-d ', $row [' posttime ']);?>" </span></li ><?php}?></ul>

News Headlines

<?php $dosql->execute ("select * from ' #@__infolist ' WHERE (classid=4 or parentid=4) and delstate= ' and CHECKINFO=TR UE and flag like ' h% ' ORDER by OrderID DESC LIMIT 0,1 "); $row 1 = $dosql->getarray ()? ><span id=" _span "><a HRE f= "newsshow.php?cid=<?php echo $row 1[' ClassID ']. ' &id= '. $row 1[' id ']?> "title=" <?= $row 1[' title ']?> "><?php Echo restrlen ($row 1[' title '],11);? ></a></span><div id= "_spannr" ><?php Echo restrlen ($row 1[' description '],50);? ></div>

Headlines post-Article call

<?php$rid= $row 1[' id ']; $dosql->execute ("select * from ' #@__infolist ' WHERE (classid=4 or parentid=4) and delstate= "and checkinfo=true and id! = $rid ORDER by OrderID DESC LIMIT 0,3"), while ($row = $dosql->getarray ()) {//Get the link address if ($row [' Linkurl ']== ' and $cfg _isreurl!= ' Y ') $gourl = ' newsshow.php?cid= '. $row [' ClassID ']. ' &id= '. $row [' id '];else if ($cfg _isreurl== ' Y ') $gourl = ' newsshow-'. $row [' ClassID ']. ' -'. $row [' id ']. ' -1.html '; else$gourl = $row [' Linkurl '];? ><li><a href= "<?php echo $gourl;?>" class= "Newslia" ><?php Echo restrlen ($row [' title '],25);? ></a> "<?php Echo mydate (' m-d ', $row [' posttime ']);?>" </li><?php}?>

  

Phpmywind Call Method Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.