SlideShare une entreprise Scribd logo
1  sur  7
<?php

function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr>
          <td bgcolor="#FF0000"><table width="100%" border="0"
cellspacing="0" cellpadding="1">
              <tr>
                <td bgcolor="#FF0000"><table width="100%" border="0"
cellspacing="0" cellpadding="0">
                    <tr>
                       <td bgcolor="#000000"><table width="100%" border="0"
cellspacing="0" cellpadding="4">
                           <tr>
                             <td>";
}

function CloseTable() {
    echo "</td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>";
}

/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function top()
{
global $nuked, $op, $file, $user, $language, $page;

if (!$user){
$theuser = "<center><a href="index.php?
file=User&op=reg_screen">"._REGISTER."</a>&nbsp;/&nbsp;<a href="index.php?
file=User&op=login_screen">"._LOGIN."</a></center>";
}else{
$theuser = "<center>&nbsp;&nbsp;"._WELCOME." <b>$user[2]</b> : <a href="index.php?
file=User">"._NAVACCOUNT."</a> / <a href="index.php?
file=User&nuked_nude=index&op=logout">"._LOGOUT."</a></center>";}

echo" <html><head>n"
      ."<meta name="keywords" lang="fr" content="$nuked[keyword]">n"
      ."<meta name="Description" content="$nuked[description]">n"
      ."<meta http-equiv="content-style-type" content="text/css">n"
      ."<script type="text/javascript" language="JavaScript1.2"
src="themes/CrAk-v1/forums/images/stm31.js"></script>n"
      ."<link title="style" type="text/css" rel="stylesheet"
href="themes/CrAk-v1/style.css">";
echo" <title>$nuked[name] $nuked[slogan]</title>";

echo"   </head><body onmouseover="window.status=' .:: By CrqkOwZ For $nuked[name]
::. ';return true" bgcolor="#000000" text="#FFFFCC" leftmargin="10"
topmargin="10" marginwidth="10" marginheight="10">";

echo"
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0"
border="0">
       <tr>
       <td align="center" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
         <td width="60%" background="themes/CrAk-v1/images/header_04.gif"
bgcolor="#000000"><center><img src="themes/CrAk-v1/images/header.gif"
border="0" alt="$sitename"></td><center>
         </tr>
      </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td bgcolor="#99FFFF" background="themes/CrAk-
v1/forums/images/bg_mnu.gif"><table width="100%" border="0" cellspacing="0"
cellpadding="0">
              <tr>
              <td width="150" align="left" nowrap bgcolor="#000000"><img
src="themes/CrAk-v1/images/header_06.gif" border="0" alt="$sitename"></td>
                <td align="center" valign="top" bgcolor="#000000"><div
align="center">&nbsp;<a href="index.php" target="_self">&nbsp; - Accueil
-</a>&nbsp;
                    <img src="themes/CrAk-v1/images/xbox_controller.gif"
width="26" height="25">&nbsp;&nbsp;<a href="index.php?file=Gallery"
target="_self"> - Photo -</a>&nbsp;&nbsp;<img src="themes/CrAk-
v1/images/xbox_controller.gif" width="26" height="25">&nbsp;&nbsp; <a
href="index.php?file=Guestbook" target="_self"> - Livre d'Or -</a>&nbsp;&nbsp;
<img src="themes/CrAk-v1/images/xbox_controller.gif" width="26"
height="25">&nbsp;&nbsp;<a href="index.php?file=Forum" target="_self"> -
Forum -<td width="150" align="right" nowrap bgcolor="#000000"><font
class="topbar">$theuser</font></td>
              </tr>
            </table></td>
       </tr>
    </table>
    <table width="100%" cellpadding="0" cellspacing="0" border="0"
align="center">
<tr valign="top">
<td valign="top" width="1" >
";

if($file!='Forum' || $page=='admin'){
get_blok('gauche');}

echo"
</td><td valign="top" width="100%">
";

if($op==index){get_blok('centre');}
}
/************************************************************/
/* Function themefooter()                                   */
/************************************************************/

function footer()
{
global $nuked, $file, $page;
if($file!='Forum'){echo"<br>";}
if ($file == $nuked[index_site] && $page=="") {

echo"
</td><td valign="top" width="165">
";

get_blok('droite');
}

echo"
</td>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="3"><div align="center"><font class="small"><center>::
NONVENDETTA.FR <a href="http://www.nonvendetta.fr" target="_blank"> Designed By
NONVENDETTA.FR</a> ::</center><br>$nuked[footmessage]</font></div></td>
          </tr>
          <tr>
            <td width="5%" align="left"><div align="left"><a
href="http://www.nonvendetta.fr" target="_blank"><img src="themes/CrAk-
v1/images/footer1.gif" border="0"></a></div></td>
            <td width="87%" background="themes/CrAk-
v1/images/footer2.gif">&nbsp;</td>
            <td width="8%" align="right" background="themes/CrAk-
v1/images/footer2.gif"><img src="themes/CrAk-v1/images/footer3.gif"
border="0"></td>
          </tr>
        </table></td>
   </tr>
</table>
";

}

/************************************************************/
/* Function themeindex()                                    */
/************************************************************/

function news($data)
{
echo"
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0"
cellpadding="0">
        <tr>
          <td bgcolor="#CC0000"><table width="100%" border="0"
cellspacing="1" cellpadding="0">
<tr>
                 <td bgcolor="#CC0000"><table width="100%" border="0"
cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="39" background="themes/CrAk-
v1/forums/images/bg_mnu.gif" bgcolor="#000000"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
                             <tr>
                               <td width="3%" height="32"
background="themes/CrAk-v1/images/block03.gif" bgcolor="#000000"><font
class="block-title"><img src="themes/CrAk-v1/images/block.gif"></font> <font
class="storytitle"></font></td>
                               <td width="94%" background="themes/CrAk-
v1/images/block03.gif" bgcolor="#000000"><div align="center"><font
class="storytitle"><b>$data[titre]</b></font></div></td>
                             </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td bgcolor="#99FFFF"><table width="100%" border="0"
cellspacing="0" cellpadding="4">
                             <tr>
                               <td bgcolor="#000000">$data[image]<font
class="storycontent">$data[texte]</font></td>
                             </tr>
                           </table></td>
                      </tr>
                      <tr>
                        <td bgcolor="#99FFFF"><table width="100%" border="0"
cellspacing="0" cellpadding="4">
                             <tr>
                               <td bgcolor="#000000"><div align="center"><font
class="content">"._NEWSPOSTBY." <a href="index.php?
file=Members&op=detail&autor=$data[auteur]">$data[auteur]</a> "._THE." $data[date]
"._AT." $data[heure]</font>
                               <br>
                               <font class="content">[ <a href="index.php?
file=News&op=index_comment&news_id=$data[id]">"._NEWSCOMMENT."</a>
($data[nb_comment])</a>&nbsp;&nbsp;$data[printpage] | $data[friend] ]
</font></div></td>
                             </tr>
                           </table></td>
                      </tr>
                    </table></td>
               </tr>
             </table></td>
         </tr>
     </table></td>
   </tr>
</table>
";
}

/************************************************************/
/* Function themesidebox()                                  */
/************************************************************/

function block_gauche($block)
{
echo"
<table width="165" border="0" cellspacing="0" cellpadding="3">
   <tr>
     <td bgcolor="#000000"><table width="165" border="0" cellspacing="0"
cellpadding="0">
   <tr>
     <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1"
cellpadding="0">
          <tr>
            <td bgcolor="#CC0000"><table width="100%" border="0"
cellspacing="0" cellpadding="0">
                 <tr>
                   <td height="39" bgcolor="#000000"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="39" background="themes/CrAk-
v1/images/block01.gif"><font class="block-title"><img src="themes/CrAk-
v1/images/block.gif"></font></td>
                        </tr>
                      </table></td>
                 </tr>
                 <tr>
                   <td bgcolor="#000000"><table width="100%" border="0"
cellspacing="0" cellpadding="1">
                        <tr>
                          <td bgcolor="#000000"><div align="center"><font
class="block-title"><strong>$block[titre]</strong></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#000000"><font
class="blockcontent">$block[content]</font></td>
                        </tr>
                      </table></td>
                 </tr>
                 <tr>
                   <td height="12" bgcolor="#000000"><div align="center"><font
class="block-title"><img src="themes/CrAk-
v1/images/block02.gif"></font></div></td>
                 </tr>
               </table></td>
          </tr>
        </table></td>
   </tr>
</table></td>
   </tr>
</table>
";
}

function block_droite($block)
{
echo"
<table width="165" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td bgcolor="#000000"><table width="165" border="0" cellspacing="0"
cellpadding="0">
  <tr>
    <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1"
cellpadding="0">
<tr>
           <td bgcolor="#CC0000"><table width="100%" border="0"
cellspacing="0" cellpadding="0">
                <tr>
                  <td height="39" bgcolor="#000000"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
                       <tr>
                         <td height="39" background="themes/CrAk-
v1/images/block01.gif"><font class="block-title"><img src="themes/CrAk-
v1/images/block.gif"></font></td>
                       </tr>
                     </table></td>
                </tr>
                <tr>
                  <td bgcolor="#000000"><table width="100%" border="0"
cellspacing="0" cellpadding="1">
                       <tr>
                         <td bgcolor="#000000"><div align="center"><font
class="block-title"><strong>$block[titre]</strong></font></div></td>
                       </tr>
                       <tr>
                         <td bgcolor="#000000"><font
class="blockcontent">$block[content]</font></td>
                       </tr>
                     </table></td>
                </tr>
                <tr>
                  <td height="12" bgcolor="#000000"><div align="center"><font
class="block-title"><img src="themes/CrAk-
v1/images/block02.gif"></font></div></td>
                </tr>
              </table></td>
         </tr>
       </table></td>
   </tr>
</table></td>
   </tr>
</table>
";
}

function block_centre($block)
{
echo"
<table width="100%" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0"
cellpadding="0">
  <tr>
    <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1"
cellpadding="0">
        <tr>
          <td bgcolor="#CC0000"><table width="100%" border="0"
cellspacing="0" cellpadding="0">
              <tr>
                <td height="39" bgcolor="#000000"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="39" background="themes/CrAk-
v1/images/block01.gif"><font class="block-title"><img src="themes/CrAk-
v1/images/block.gif"></font></td>
                      </tr>
                    </table></td>
               </tr>
               <tr>
                 <td bgcolor="#000000"><table width="100%" border="0"
cellspacing="0" cellpadding="1">
                      <tr>
                        <td bgcolor="#000000"><div align="center"><font
class="block-title"><strong>$block[titre]</strong></font></div></td>
                      </tr>
                      <tr>
                        <td bgcolor="#000000"><font
class="blockcontent">$block[content]</font></td>
                      </tr>
                    </table></td>
               </tr>
               <tr>
                 <td height="12" bgcolor="#000000"><div align="center"><font
class="block-title"><img src="themes/CrAk-
v1/images/block02.gif"></font></div></td>
               </tr>
             </table></td>
         </tr>
       </table></td>
   </tr>
</table></td>
   </tr>
</table>
<br>
";
}

?>

Contenu connexe

Tendances

Tendances (19)

Convidar para page !!
Convidar para page !!Convidar para page !!
Convidar para page !!
 
Insertcustomer
InsertcustomerInsertcustomer
Insertcustomer
 
Speeding up Red Team engagements with carnivorall
Speeding up Red Team engagements with carnivorallSpeeding up Red Team engagements with carnivorall
Speeding up Red Team engagements with carnivorall
 
R57shell
R57shellR57shell
R57shell
 
Php
PhpPhp
Php
 
Ubi comp27nov04
Ubi comp27nov04Ubi comp27nov04
Ubi comp27nov04
 
Jina Bolton
Jina BoltonJina Bolton
Jina Bolton
 
php Mailer
php Mailerphp Mailer
php Mailer
 
Rebooting TEI Pointers
Rebooting TEI PointersRebooting TEI Pointers
Rebooting TEI Pointers
 
Type the document source
Type the document sourceType the document source
Type the document source
 
La santé du point de vue de l’individu de la mesure aux décisions collectives.
La santé du point de vue de l’individu   de la mesure aux décisions collectives.La santé du point de vue de l’individu   de la mesure aux décisions collectives.
La santé du point de vue de l’individu de la mesure aux décisions collectives.
 
Views notwithstanding
Views notwithstandingViews notwithstanding
Views notwithstanding
 
Apache Solr Search Mastery
Apache Solr Search MasteryApache Solr Search Mastery
Apache Solr Search Mastery
 
Html cheat sheet
Html cheat sheetHtml cheat sheet
Html cheat sheet
 
T1
T1T1
T1
 
Php My Sql
Php My SqlPhp My Sql
Php My Sql
 
Html Tags
Html TagsHtml Tags
Html Tags
 
Pp checker
Pp checkerPp checker
Pp checker
 
Nop2
Nop2Nop2
Nop2
 

En vedette

Workshop1
Workshop1Workshop1
Workshop1cvohz46
 
Manual Para los Nuevos FanPage de Facebook
Manual Para los Nuevos FanPage de FacebookManual Para los Nuevos FanPage de Facebook
Manual Para los Nuevos FanPage de FacebookCarlos Zapata
 
Final power point
Final power pointFinal power point
Final power pointtpsudetlc
 
創意媒體產業-電子書
創意媒體產業-電子書 創意媒體產業-電子書
創意媒體產業-電子書 heartspoem
 
Google ipsos mobile_internet_smartphone_adoption_insights_2011
Google ipsos mobile_internet_smartphone_adoption_insights_2011Google ipsos mobile_internet_smartphone_adoption_insights_2011
Google ipsos mobile_internet_smartphone_adoption_insights_2011Carlos Zapata
 
Adipwe 2014 top 20 african diaspora women
Adipwe 2014 top 20 african diaspora womenAdipwe 2014 top 20 african diaspora women
Adipwe 2014 top 20 african diaspora womennucleus of change
 

En vedette (7)

Workshop1
Workshop1Workshop1
Workshop1
 
Adwords paso a paso
Adwords paso a pasoAdwords paso a paso
Adwords paso a paso
 
Manual Para los Nuevos FanPage de Facebook
Manual Para los Nuevos FanPage de FacebookManual Para los Nuevos FanPage de Facebook
Manual Para los Nuevos FanPage de Facebook
 
Final power point
Final power pointFinal power point
Final power point
 
創意媒體產業-電子書
創意媒體產業-電子書 創意媒體產業-電子書
創意媒體產業-電子書
 
Google ipsos mobile_internet_smartphone_adoption_insights_2011
Google ipsos mobile_internet_smartphone_adoption_insights_2011Google ipsos mobile_internet_smartphone_adoption_insights_2011
Google ipsos mobile_internet_smartphone_adoption_insights_2011
 
Adipwe 2014 top 20 african diaspora women
Adipwe 2014 top 20 african diaspora womenAdipwe 2014 top 20 african diaspora women
Adipwe 2014 top 20 african diaspora women
 

Similaire à PHP Functions for Dynamic Website Tables

Second raidteam.html
Second raidteam.htmlSecond raidteam.html
Second raidteam.htmlCraig Farish
 
Ex[1].3 php db connectivity
Ex[1].3 php db connectivityEx[1].3 php db connectivity
Ex[1].3 php db connectivityMouli Chandira
 
Form & frame
Form & frameForm & frame
Form & frameaminsir
 
Html table tags
Html table tagsHtml table tags
Html table tagseShikshak
 
Railway res form
Railway res formRailway res form
Railway res formsuma Latha
 
Postlet June1709
Postlet June1709Postlet June1709
Postlet June1709bnbanmare
 
CSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsCSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsAdrian Roselli
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识ppanyong
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识ppanyong
 
TYBSC prac soln
TYBSC prac solnTYBSC prac soln
TYBSC prac solntushar1001
 
Vaadin Components @ Angular U
Vaadin Components @ Angular UVaadin Components @ Angular U
Vaadin Components @ Angular UJoonas Lehtinen
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmMaria S Rivera
 
Rounded Shaped Box Example 1
Rounded Shaped Box Example 1Rounded Shaped Box Example 1
Rounded Shaped Box Example 1Sibananda Panda
 

Similaire à PHP Functions for Dynamic Website Tables (20)

Coding part
Coding partCoding part
Coding part
 
Second raidteam.html
Second raidteam.htmlSecond raidteam.html
Second raidteam.html
 
Ex[1].3 php db connectivity
Ex[1].3 php db connectivityEx[1].3 php db connectivity
Ex[1].3 php db connectivity
 
Form & frame
Form & frameForm & frame
Form & frame
 
Html table tags
Html table tagsHtml table tags
Html table tags
 
Web technology
Web technologyWeb technology
Web technology
 
Railway res form
Railway res formRailway res form
Railway res form
 
Postlet June1709
Postlet June1709Postlet June1709
Postlet June1709
 
CSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsCSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML Semantics
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
Post portal naruto
Post portal narutoPost portal naruto
Post portal naruto
 
Md5 decrypter
Md5 decrypterMd5 decrypter
Md5 decrypter
 
TYBSC prac soln
TYBSC prac solnTYBSC prac soln
TYBSC prac soln
 
CAR Email 06.05.02 (a)
CAR Email 06.05.02 (a)CAR Email 06.05.02 (a)
CAR Email 06.05.02 (a)
 
Vaadin Components @ Angular U
Vaadin Components @ Angular UVaadin Components @ Angular U
Vaadin Components @ Angular U
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
Rounded Shaped Box Example 1
Rounded Shaped Box Example 1Rounded Shaped Box Example 1
Rounded Shaped Box Example 1
 
Web technology
Web technologyWeb technology
Web technology
 
CAR Email 6.5.02 (d)
CAR Email 6.5.02 (d)CAR Email 6.5.02 (d)
CAR Email 6.5.02 (d)
 

Dernier

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 

Dernier (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 

PHP Functions for Dynamic Website Tables

  • 1. <?php function OpenTable() { global $bgcolor1, $bgcolor2; echo "<table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#FF0000"><table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#FF0000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td>"; } function CloseTable() { echo "</td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table>"; } /************************************************************/ /* Function themeheader() */ /************************************************************/ function top() { global $nuked, $op, $file, $user, $language, $page; if (!$user){ $theuser = "<center><a href="index.php? file=User&op=reg_screen">"._REGISTER."</a>&nbsp;/&nbsp;<a href="index.php? file=User&op=login_screen">"._LOGIN."</a></center>"; }else{ $theuser = "<center>&nbsp;&nbsp;"._WELCOME." <b>$user[2]</b> : <a href="index.php? file=User">"._NAVACCOUNT."</a> / <a href="index.php? file=User&nuked_nude=index&op=logout">"._LOGOUT."</a></center>";} echo" <html><head>n" ."<meta name="keywords" lang="fr" content="$nuked[keyword]">n" ."<meta name="Description" content="$nuked[description]">n" ."<meta http-equiv="content-style-type" content="text/css">n" ."<script type="text/javascript" language="JavaScript1.2" src="themes/CrAk-v1/forums/images/stm31.js"></script>n" ."<link title="style" type="text/css" rel="stylesheet" href="themes/CrAk-v1/style.css">";
  • 2. echo" <title>$nuked[name] $nuked[slogan]</title>"; echo" </head><body onmouseover="window.status=' .:: By CrqkOwZ For $nuked[name] ::. ';return true" bgcolor="#000000" text="#FFFFCC" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">"; echo" <table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="60%" background="themes/CrAk-v1/images/header_04.gif" bgcolor="#000000"><center><img src="themes/CrAk-v1/images/header.gif" border="0" alt="$sitename"></td><center> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#99FFFF" background="themes/CrAk- v1/forums/images/bg_mnu.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="150" align="left" nowrap bgcolor="#000000"><img src="themes/CrAk-v1/images/header_06.gif" border="0" alt="$sitename"></td> <td align="center" valign="top" bgcolor="#000000"><div align="center">&nbsp;<a href="index.php" target="_self">&nbsp; - Accueil -</a>&nbsp; <img src="themes/CrAk-v1/images/xbox_controller.gif" width="26" height="25">&nbsp;&nbsp;<a href="index.php?file=Gallery" target="_self"> - Photo -</a>&nbsp;&nbsp;<img src="themes/CrAk- v1/images/xbox_controller.gif" width="26" height="25">&nbsp;&nbsp; <a href="index.php?file=Guestbook" target="_self"> - Livre d'Or -</a>&nbsp;&nbsp; <img src="themes/CrAk-v1/images/xbox_controller.gif" width="26" height="25">&nbsp;&nbsp;<a href="index.php?file=Forum" target="_self"> - Forum -<td width="150" align="right" nowrap bgcolor="#000000"><font class="topbar">$theuser</font></td> </tr> </table></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr valign="top"> <td valign="top" width="1" > "; if($file!='Forum' || $page=='admin'){ get_blok('gauche');} echo" </td><td valign="top" width="100%"> "; if($op==index){get_blok('centre');} }
  • 3. /************************************************************/ /* Function themefooter() */ /************************************************************/ function footer() { global $nuked, $file, $page; if($file!='Forum'){echo"<br>";} if ($file == $nuked[index_site] && $page=="") { echo" </td><td valign="top" width="165"> "; get_blok('droite'); } echo" </td> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="3"><div align="center"><font class="small"><center>:: NONVENDETTA.FR <a href="http://www.nonvendetta.fr" target="_blank"> Designed By NONVENDETTA.FR</a> ::</center><br>$nuked[footmessage]</font></div></td> </tr> <tr> <td width="5%" align="left"><div align="left"><a href="http://www.nonvendetta.fr" target="_blank"><img src="themes/CrAk- v1/images/footer1.gif" border="0"></a></div></td> <td width="87%" background="themes/CrAk- v1/images/footer2.gif">&nbsp;</td> <td width="8%" align="right" background="themes/CrAk- v1/images/footer2.gif"><img src="themes/CrAk-v1/images/footer3.gif" border="0"></td> </tr> </table></td> </tr> </table> "; } /************************************************************/ /* Function themeindex() */ /************************************************************/ function news($data) { echo" <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1" cellpadding="0">
  • 4. <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" background="themes/CrAk- v1/forums/images/bg_mnu.gif" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="3%" height="32" background="themes/CrAk-v1/images/block03.gif" bgcolor="#000000"><font class="block-title"><img src="themes/CrAk-v1/images/block.gif"></font> <font class="storytitle"></font></td> <td width="94%" background="themes/CrAk- v1/images/block03.gif" bgcolor="#000000"><div align="center"><font class="storytitle"><b>$data[titre]</b></font></div></td> </tr> </table></td> </tr> <tr> <td bgcolor="#99FFFF"><table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td bgcolor="#000000">$data[image]<font class="storycontent">$data[texte]</font></td> </tr> </table></td> </tr> <tr> <td bgcolor="#99FFFF"><table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td bgcolor="#000000"><div align="center"><font class="content">"._NEWSPOSTBY." <a href="index.php? file=Members&op=detail&autor=$data[auteur]">$data[auteur]</a> "._THE." $data[date] "._AT." $data[heure]</font> <br> <font class="content">[ <a href="index.php? file=News&op=index_comment&news_id=$data[id]">"._NEWSCOMMENT."</a> ($data[nb_comment])</a>&nbsp;&nbsp;$data[printpage] | $data[friend] ] </font></div></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> "; } /************************************************************/ /* Function themesidebox() */ /************************************************************/ function block_gauche($block) {
  • 5. echo" <table width="165" border="0" cellspacing="0" cellpadding="3"> <tr> <td bgcolor="#000000"><table width="165" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" background="themes/CrAk- v1/images/block01.gif"><font class="block-title"><img src="themes/CrAk- v1/images/block.gif"></font></td> </tr> </table></td> </tr> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000"><div align="center"><font class="block-title"><strong>$block[titre]</strong></font></div></td> </tr> <tr> <td bgcolor="#000000"><font class="blockcontent">$block[content]</font></td> </tr> </table></td> </tr> <tr> <td height="12" bgcolor="#000000"><div align="center"><font class="block-title"><img src="themes/CrAk- v1/images/block02.gif"></font></div></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> "; } function block_droite($block) { echo" <table width="165" border="0" cellspacing="0" cellpadding="3"> <tr> <td bgcolor="#000000"><table width="165" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1" cellpadding="0">
  • 6. <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" background="themes/CrAk- v1/images/block01.gif"><font class="block-title"><img src="themes/CrAk- v1/images/block.gif"></font></td> </tr> </table></td> </tr> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000"><div align="center"><font class="block-title"><strong>$block[titre]</strong></font></div></td> </tr> <tr> <td bgcolor="#000000"><font class="blockcontent">$block[content]</font></td> </tr> </table></td> </tr> <tr> <td height="12" bgcolor="#000000"><div align="center"><font class="block-title"><img src="themes/CrAk- v1/images/block02.gif"></font></div></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> "; } function block_centre($block) { echo" <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td bgcolor="#CC0000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" background="themes/CrAk-
  • 7. v1/images/block01.gif"><font class="block-title"><img src="themes/CrAk- v1/images/block.gif"></font></td> </tr> </table></td> </tr> <tr> <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000"><div align="center"><font class="block-title"><strong>$block[titre]</strong></font></div></td> </tr> <tr> <td bgcolor="#000000"><font class="blockcontent">$block[content]</font></td> </tr> </table></td> </tr> <tr> <td height="12" bgcolor="#000000"><div align="center"><font class="block-title"><img src="themes/CrAk- v1/images/block02.gif"></font></div></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> <br> "; } ?>