Source for file install4.php

Documentation is available at install4.php

  1. <?php
  2. /**
  3. * Install instructions
  4. @package Mambo
  5. @author Mambo Foundation Inc see README.php
  6. @copyright Mambo Foundation Inc.
  7. *  See COPYRIGHT.php for copyright notices and details.
  8. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
  9. *  LICENSE.php
  10. *  Mambo is free software; you can redistribute it and/or
  11. *  modify it under the terms of the GNU General Public License
  12. *  as published by the Free Software Foundation; version 2 of the
  13. *  License.
  14. */
  15.  
  16. // Set flag that this is a parent file
  17. if (!defined('_VALID_MOS')) define'_VALID_MOS');
  18.  
  19. // Include common.php
  20. require_once'common.php' );
  21. include_once'langconfig.php' );
  22.  
  23. $DBhostname mosGetParam$_POST'DBhostname''' );
  24. $DBuserName mosGetParam$_POST'DBuserName''' );
  25. $DBpassword mosGetParam$_POST'DBpassword''' );
  26. $DBname      mosGetParam$_POST'DBname''' );
  27. $DBPrefix      mosGetParam$_POST'DBPrefix''' );
  28. $sitename      mosGetParam$_POST'sitename''' );
  29. $adminEmail mosGetParam$_POST'adminEmail''');
  30. $siteUrl      mosGetParam$_POST'siteUrl''' );
  31. $absolutePath mosGetParam$_POST'absolutePath''' );
  32. $adminPassword mosGetParam$_POST'adminPassword''');
  33.  
  34. $filePerms '';
  35. if (mosGetParam($_POST,'filePermsMode',0))
  36.     $filePerms '0'.
  37.         (mosGetParam($_POST,'filePermsUserRead',0+
  38.          mosGetParam($_POST,'filePermsUserWrite',0+
  39.          mosGetParam($_POST,'filePermsUserExecute',0)).
  40.         (mosGetParam($_POST,'filePermsGroupRead',0+
  41.          mosGetParam($_POST,'filePermsGroupWrite',0+
  42.          mosGetParam($_POST,'filePermsGroupExecute',0)).
  43.         (mosGetParam($_POST,'filePermsWorldRead',0+
  44.          mosGetParam($_POST,'filePermsWorldWrite',0+
  45.          mosGetParam($_POST,'filePermsWorldExecute',0));
  46.  
  47. $dirPerms '';
  48. if (mosGetParam($_POST,'dirPermsMode',0))
  49.     $dirPerms '0'.
  50.         (mosGetParam($_POST,'dirPermsUserRead',0+
  51.          mosGetParam($_POST,'dirPermsUserWrite',0+
  52.          mosGetParam($_POST,'dirPermsUserSearch',0)).
  53.         (mosGetParam($_POST,'dirPermsGroupRead',0+
  54.          mosGetParam($_POST,'dirPermsGroupWrite',0+
  55.          mosGetParam($_POST,'dirPermsGroupSearch',0)).
  56.         (mosGetParam($_POST,'dirPermsWorldRead',0+
  57.          mosGetParam($_POST,'dirPermsWorldWrite',0+
  58.          mosGetParam($_POST,'dirPermsWorldSearch',0));
  59.  
  60. if ((trim($adminEmail== "")) || (preg_match("/[\w\.\-]+@\w+[\w\.\-]*?\.\w{1,4}/"$adminEmail )==false)) {
  61.     echo "<form name=\"stepBack\" method=\"post\" action=\"install3.php\">
  62.         <input type=\"hidden\" name=\"DBhostname\" value=\"$DBhostname\" />
  63.         <input type=\"hidden\" name=\"DBuserName\" value=\"$DBuserName\" />
  64.         <input type=\"hidden\" name=\"DBpassword\" value=\"$DBpassword\" />
  65.         <input type=\"hidden\" name=\"DBname\" value=\"$DBname\" />
  66.         <input type=\"hidden\" name=\"DBPrefix\" value=\"$DBPrefix\" />
  67.         <input type=\"hidden\" name=\"DBcreated\" value=\"1\" />
  68.         <input type=\"hidden\" name=\"sitename\" value=\"$sitename\" />
  69.         <input type=\"hidden\" name=\"adminEmail\" value=\"$adminEmail\" />
  70.         <input type=\"hidden\" name=\"siteUrl\" value=\"$siteUrl\" />
  71.         <input type=\"hidden\" name=\"absolutePath\" value=\"$absolutePath\" />
  72.         <input type=\"hidden\" name=\"filePerms\" value=\"$filePerms\" />
  73.         <input type=\"hidden\" name=\"dirPerms\" value=\"$dirPerms\" />
  74.         </form>";
  75.     echo "<script>alert('".T_('You must provide a valid admin email address.')."'); document.stepBack.submit(); </script>";
  76.     return;
  77. }
  78.  
  79. if($DBhostname && $DBuserName && $DBname{
  80.     $configArray['DBhostname'$DBhostname;
  81.     $configArray['DBuserName'$DBuserName;
  82.     $configArray['DBpassword'$DBpassword;
  83.     $configArray['DBname']     $DBname;
  84.     $configArray['DBPrefix']   $DBPrefix;
  85. else {
  86.     echo "<form name=\"stepBack\" method=\"post\" action=\"install3.php\">
  87.         <input type=\"hidden\" name=\"DBhostname\" value=\"$DBhostname\" />
  88.         <input type=\"hidden\" name=\"DBuserName\" value=\"$DBuserName\" />
  89.         <input type=\"hidden\" name=\"DBpassword\" value=\"$DBpassword\" />
  90.         <input type=\"hidden\" name=\"DBname\" value=\"$DBname\" />
  91.         <input type=\"hidden\" name=\"DBPrefix\" value=\"$DBPrefix\" />
  92.         <input type=\"hidden\" name=\"DBcreated\" value=\"1\" />
  93.         <input type=\"hidden\" name=\"sitename\" value=\"$sitename\" />
  94.         <input type=\"hidden\" name=\"adminEmail\" value=\"$adminEmail\" />
  95.         <input type=\"hidden\" name=\"siteUrl\" value=\"$siteUrl\" />
  96.         <input type=\"hidden\" name=\"absolutePath\" value=\"$absolutePath\" />
  97.         <input type=\"hidden\" name=\"filePerms\" value=\"$filePerms\" />
  98.         <input type=\"hidden\" name=\"dirPerms\" value=\"$dirPerms\" />
  99.         </form>";
  100.  
  101.     echo "<script>alert('".T_('The database details provided are incorrect and/or empty')."'); document.stepBack.submit(); </script>";
  102.     return;
  103. }
  104.  
  105. if ($sitename{
  106.     if (!get_magic_quotes_gpc()) {
  107.         $configArray['sitename'addslashes($sitename);
  108.     else {
  109.         $configArray['sitename'$sitename;
  110.     }
  111. else {
  112.     ?>
  113.         <form name=\"stepBack\" method=\"post\" action=\"install3.php\">
  114.         <input type=\"hidden\" name=\"DBhostname\" value=\"$DBhostname\" />
  115.         <input type=\"hidden\" name=\"DBuserName\" value=\"$DBuserName\" />
  116.         <input type=\"hidden\" name=\"DBpassword\" value=\"$DBpassword\" />
  117.         <input type=\"hidden\" name=\"DBname\" value=\"$DBname\" />
  118.         <input type=\"hidden\" name=\"DBPrefix\" value=\"$DBPrefix\" />
  119.         <input type=\"hidden\" name=\"DBcreated\" value=\"1\" />
  120.         <input type=\"hidden\" name=\"sitename\" value=\"$sitename\" />
  121.         <input type=\"hidden\" name=\"adminEmail\" value=\"$adminEmail\" />
  122.         <input type=\"hidden\" name=\"siteUrl\" value=\"$siteUrl\" />
  123.         <input type=\"hidden\" name=\"absolutePath\" value=\"$absolutePath\" />
  124.         <input type=\"hidden\" name=\"filePerms\" value=\"$filePerms\" />
  125.         <input type=\"hidden\" name=\"dirPerms\" value=\"$dirPerms\" />
  126.         </form>
  127.  
  128.  
  129.         <script type="text/javascript">alert('".T_('The sitename has not been provided'); document.stepBack2.submit();</script>
  130.         <?php
  131.     return;
  132. }
  133.  
  134. if (file_exists'../configuration.php' )) {
  135.     $canWrite is_writable'../configuration.php' );
  136. else {
  137.     $canWrite is_writable'..' );
  138. }
  139.  
  140. if ($siteUrl{
  141.     $configArray['siteUrl']=$siteUrl;
  142.     // Fix for Windows
  143.     $absolutePathstr_replace("\\","/"$absolutePath);
  144.     $absolutePathstr_replace("//","/"$absolutePath);
  145.     $configArray['absolutePath']=$absolutePath;
  146.     $configArray['filePerms']=$filePerms;
  147.     $configArray['dirPerms']=$dirPerms;
  148.  
  149.     $config "<?php\n";
  150.     $config .= "\$mosConfig_offline = '0';\n";
  151.     $config .= "\$mosConfig_host = '{$configArray['DBhostname']}';\n";
  152.     $config .= "\$mosConfig_user = '{$configArray['DBuserName']}';\n";
  153.     $config .= "\$mosConfig_password = '{$configArray['DBpassword']}';\n";
  154.     $config .= "\$mosConfig_db = '{$configArray['DBname']}';\n";
  155.     $config .= "\$mosConfig_dbprefix = '{$configArray['DBPrefix']}';\n";
  156.     $config .= "\$mosConfig_lang = 'fa_IR';\n";
  157.     $config .= "\$mosConfig_absolute_path = '{$configArray['absolutePath']}';\n";
  158.     $config .= "\$mosConfig_live_site = '{$configArray['siteUrl']}';\n";
  159.     $config .= "\$mosConfig_sitename = '{$configArray['sitename']}';\n";
  160.     $config .= "\$mosConfig_shownoauth = '0';\n";
  161.     $config .= "\$mosConfig_useractivation = '1';\n";
  162.     $config .= "\$mosConfig_uniquemail = '1';\n";
  163.     $config .= "\$mosConfig_offline_message = '".T_('This site is down for maintenance.<br /> Please check back again soon.')."';\n";
  164.     $config .= "\$mosConfig_error_message = '".T_('This site is temporarily unavailable.<br /> Please notify the System Administrator')."';\n";
  165.     $config .= "\$mosConfig_debug = '0';\n";
  166.     $config .= "\$mosConfig_lifetime = '900';\n";
  167.     $config .= "\$mosConfig_MetaDesc = '".T_('This site uses Mambo - the free, open source content management system')."';\n";
  168.     $config .= "\$mosConfig_MetaKeys = 'mambo user, Mambo';\n";
  169.     $config .= "\$mosConfig_MetaTitle = '1';\n";
  170.     $config .= "\$mosConfig_MetaAuthor = '1';\n";
  171.     $config .= "\$mosConfig_locale_debug = '0';\n";
  172.     $config .= "\$mosConfig_locale_use_gettext = '0';\n";
  173.     $config .= "\$mosConfig_locale = 'fa_IR';\n";
  174.     $config .= "\$mosConfig_offset = '0';\n";
  175.     $config .= "\$mosConfig_hideAuthor = '0';\n";
  176.     $config .= "\$mosConfig_hideCreateDate = '0';\n";
  177.     $config .= "\$mosConfig_hideModifyDate = '0';\n";
  178.     $config .= "\$mosConfig_hidePdf = '".intval!is_writable"{$configArray['absolutePath']}/media/) )."';\n";
  179.     $config .= "\$mosConfig_hidePrint = '0';\n";
  180.     $config .= "\$mosConfig_hideEmail = '0';\n";
  181.     $config .= "\$mosConfig_enable_log_items = '0';\n";
  182.     $config .= "\$mosConfig_enable_log_searches = '0';\n";
  183.     $config .= "\$mosConfig_enable_stats = '1';\n";
  184.     $config .= "\$mosConfig_sef = '0';\n";
  185.     $config .= "\$mosConfig_vote = '0';\n";
  186.     $config .= "\$mosConfig_gzip = '0';\n";
  187.     $config .= "\$mosConfig_multipage_toc = '1';\n";
  188.     $config .= "\$mosConfig_allowUserRegistration = '1';\n";
  189.     $config .= "\$mosConfig_link_titles = '0';\n";
  190.     $config .= "\$mosConfig_error_reporting = '-1';\n";
  191.     $config .= "\$mosConfig_register_globals = '1';\n";
  192.     $config .= "\$mosConfig_list_limit = '50';\n";
  193.     $config .= "\$mosConfig_caching = '0';\n";
  194.     $config .= "\$mosConfig_cachepath = '{$configArray['absolutePath']}/cache';\n";
  195.     $config .= "\$mosConfig_cachetime = '900';\n";
  196.     $config .= "\$mosConfig_mailer = 'mail';\n";
  197.     $config .= "\$mosConfig_mailfrom = '$adminEmail';\n";
  198.     $config .= "\$mosConfig_fromname = '{$configArray['sitename']}';\n";
  199.     $config .= "\$mosConfig_sendmail = '/usr/sbin/sendmail';\n";
  200.     $config .= "\$mosConfig_smtpauth = '0';\n";
  201.     $config .= "\$mosConfig_smtpuser = '';\n";
  202.     $config .= "\$mosConfig_smtppass = '';\n";
  203.     $config .= "\$mosConfig_smtphost = 'localhost';\n";
  204.     $config .= "\$mosConfig_back_button = '0';\n";
  205.     $config .= "\$mosConfig_item_navigation = '0';\n";
  206.     $config .= "\$mosConfig_secret = '" mosMakePassword(16"';\n";
  207.     $config .= "\$mosConfig_pagetitles = '1';\n";
  208.     $config .= "\$mosConfig_readmore = '1';\n";
  209.     $config .= "\$mosConfig_hits = '1';\n";
  210.     $config .= "\$mosConfig_icons = '1';\n";
  211.     $config .= "\$mosConfig_favicon = 'favicon.ico';\n";
  212.     $config .= "\$mosConfig_fileperms = '".$configArray['filePerms']."';\n";
  213.     $config .= "\$mosConfig_dirperms = '".$configArray['dirPerms']."';\n";
  214.     $config .= "\$mosConfig_helpurl = 'http://docs.mambo-foundation.org';\n";
  215.     $config .= "\$mosConfig_mbf_content = '0';\n";
  216.     $config .= "setlocale (LC_TIME, \$mosConfig_locale);\n";
  217.     $config .= "?>";
  218.  
  219.     if ($canWrite && ($fp fopen("../configuration.php""w"))) {
  220.         fputs$fp$configstrlen$config ) );
  221.         fclose$fp );
  222.     else {
  223.         $canWrite false;
  224.     // if
  225.  
  226.     $cryptpass=md5($adminPassword);
  227.  
  228.     mysql_connect($DBhostname$DBuserName$DBpassword);
  229.     mysql_select_db($DBname);
  230.  
  231.     // create the admin user
  232.     $installdate date("Y-m-d H:i:s");
  233.     $query "INSERT INTO `{$DBPrefix}users` VALUES (62, 'Administrator', 'admin', '$adminEmail', '$cryptpass', 'Super Administrator', 0, 1, 25, '$installdate', '0000-00-00 00:00:00', '', '')";
  234.     mysql_query$query );
  235.     // add the ARO (Access Request Object)
  236.     $query "INSERT INTO `{$DBPrefix}core_acl_aro` VALUES (10,'users','62',0,'Administrator',0)";
  237.     mysql_query$query );
  238.     // add the map between the ARO and the Group
  239.     $query "INSERT INTO `{$DBPrefix}core_acl_groups_aro_map` VALUES (25,'',10)";
  240.     mysql_query$query );
  241.  
  242.     // chmod files and directories if desired
  243.        $chmod_report T_('Directory and file permissions left unchanged.');
  244.     if ($filePerms != '' || $dirPerms != ''{
  245.         $mosrootfiles array(
  246.             'administrator',
  247.             'cache',
  248.             'components',
  249.             'editor',
  250.             'files',
  251.             'help',
  252.             'images',
  253.             'includes',
  254.             'parameters',
  255.             'installation',
  256.             'language',
  257.             'mambots',
  258.             'media',
  259.             'modules',
  260.             'templates',
  261.             'CHANGELOG',
  262.             'configuration.php',
  263.             'htaccess.txt',
  264.             'index.php',
  265.             'index2.php',
  266.             'index3.php',
  267.             'INSTALL',
  268.             'LICENSE',
  269.             'mainbody.php',
  270.             'offline.php',
  271.             'page404.php',
  272.             'pathway.php',
  273.             'README',
  274.             'robots.txt'
  275.         );
  276.         $filemode NULL;
  277.         if ($filePerms != ''$filemode octdec($filePerms);
  278.         $dirmode NULL;
  279.         if ($dirPerms != ''$dirmode octdec($dirPerms);
  280.         $chmodOk TRUE;
  281.         foreach ($mosrootfiles as $file)
  282.             if (!mosChmodRecursive($absolutePath.'/'.$file$filemode$dirmode))
  283.                 $chmodOk FALSE;
  284.         if ($chmodOk)
  285.             $chmod_report T_('File and directory permissions successfully changed.');
  286.         else
  287.             $chmod_report T_('File and directory permissions could not be changed.<br/>'.
  288.                             'Please CHMOD mambo files and directories manually.');
  289.     // if chmod wanted
  290. else {
  291. ?>
  292.     <form action="install3.php" method="post" name="stepBack3" id="stepBack3">
  293.       <input type="hidden" name="DBhostname" value="<?php echo $DBhostname;?>" />
  294.       <input type="hidden" name="DBusername" value="<?php echo $DBuserName;?>" />
  295.       <input type="hidden" name="DBpassword" value="<?php echo $DBpassword;?>" />
  296.       <input type="hidden" name="DBname" value="<?php echo $DBname;?>" />
  297.       <input type="hidden" name="DBPrefix" value="<?php echo $DBPrefix;?>" />
  298.       <input type="hidden" name="DBcreated" value="1" />
  299.       <input type="hidden" name="sitename" value="<?php echo $sitename;?>" />
  300.       <input type="hidden" name="adminEmail" value="$adminEmail" />
  301.       <input type="hidden" name="siteUrl" value="$siteUrl" />
  302.       <input type="hidden" name="absolutePath" value="$absolutePath" />
  303.       <input type="hidden" name="filePerms" value="$filePerms" />
  304.       <input type="hidden" name="dirPerms" value="$dirPerms" />
  305.     </form>
  306.     <script>alert('<?php echo T_('The site url has not been provided'?>'); document.stepBack3.submit();</script>
  307. <?php
  308. }
  309. echo "<?xml version=\"1.0\" encoding=\"".$charset."\"?".">";
  310. ?>
  311. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  312. <html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $text_direction;?>">
  313. <head>
  314. <title><?php echo T_('Mambo - Web Installer'?></title>
  315. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset ?>" />
  316. <link rel="shortcut icon" href="../images/favicon.ico" />
  317. <link rel="stylesheet" href="install<?php if($text_direction=='rtl'echo '_'.$text_direction ?>.css" type="text/css" />
  318. </head>
  319. <body>
  320. <div id="wrapper">
  321.     <div id="header">
  322.         <div id="mambo"><img src="header_install.png" alt="<?php echo T_('Mambo Installation'?>" /></div>
  323.     </div>
  324. </div>
  325. <div id="ctr" align="center">
  326.     <div class="install">
  327.     <form action="dummy" name="form" id="form">
  328.         <div id="stepbar">
  329.             <div class="step-off"><?php echo T_('pre-installation check'?></div>
  330.             <div class="step-off"><?php echo T_('license'?></div>
  331.             <div class="step-off"><?php echo T_('step 1'?></div>
  332.             <div class="step-off"><?php echo T_('step 2'?></div>
  333.             <div class="step-off"><?php echo T_('step 3'?></div>
  334.             <div class="step-on"><?php echo T_('step 4'?></div>
  335.             <div class="far-right">
  336.                 <input class="button" type="button" name="runSite" value="<?php echo T_('View Site'?>"
  337. <?php
  338.                 if ($siteUrl{
  339.                     echo "onClick='window.location.href=\"$siteUrl"."/index.php\" '";
  340.                 else {
  341.                     echo "onClick='window.location.href=\"{$configArray['siteURL']}"."/index.php\" '";
  342.                 }
  343. ?>/>
  344.                 <input class="button" type="button" name="Admin" value="<?php echo T_('Administration'?>"
  345. <?php
  346.                 if ($siteUrl{
  347.                     echo "onClick='window.location.href=\"$siteUrl"."/administrator/index.php\" '";
  348.                 else {
  349.                     echo "onClick='window.location.href=\"{$configArray['siteURL']}"."/administrator/index.php\" '";
  350.                 }
  351. ?>/>
  352.             </div>
  353.         </div>
  354. <div id="right2">
  355.             <div id="step"><?php echo T_('step 4'?></div>
  356.             <div id="steposi"></div>
  357.             <div class="clr"></div>
  358.             <h1><?php echo T_('Congratulations! Mambo is installed'?></h1>
  359.             <div class="install-text"><?php echo T_('<p>Click the "View Site" button to start Mambo site or "Administration" to take you to administrator login. <br /><br />Please take a moment to fill out the form below.</p>'?>
  360.             </div>
  361.             <div class="install-form">
  362.                 <div class="form-block">
  363.                     <table width="100%">
  364.                         <tr><td class="error" align="center"><?php echo T_('PLEASE REMEMBER TO COMPLETELY<br/>REMOVE THE INSTALLATION DIRECTORY'?></td></tr>
  365.                         <tr><td align="center"><h5><?php echo T_('Administration Login Details'?></h5></td></tr>
  366.                         <tr><td align="center" class="notice"><b><?php echo T_('Username :'?> admin</b></td></tr>
  367.                         <tr><td align="center" class="notice"><b><?php echo T_('Password :'?> <?php echo $adminPassword?></b></td></tr>
  368.                         <tr><td>&nbsp;</td></tr>
  369.                         <tr><td align="right">&nbsp;</td></tr>
  370. <?php                       if (!$canWrite?>
  371.                         <tr>
  372.                             <td class="small"><?php echo T_('Your configuration file or directory is not writeable, or there was a problem creating the configuration file. You\'ll have to upload the following code by hand. Click in the textarea to highlight all of the code.'?>
  373.                             </td>
  374.                         </tr>
  375.                         <tr>
  376.                             <td align="center">
  377.                                 <textarea rows="5" cols="60" name="configcode" onClick="javascript:this.form.configcode.focus();this.form.configcode.select();" ><?php echo htmlspecialchars$config );?></textarea>
  378.                             </td>
  379.                         </tr>
  380. <?php                       ?>
  381.                         <tr><td class="small"><?php /*echo $chmod_report*/?></td></tr>
  382.                     </table>
  383.                 </div>
  384.             </div>
  385.             <div id="break"></div>
  386.         </div>
  387.         <div class="clr"></div>
  388.     </form>
  389.     <div id="survey">
  390. <form method="post" action="survey.php" name="email"><br />
  391.   <table class="bodytext" border="0" cellpadding="3" cellspacing="0" width="100%">
  392.     <tbody>
  393.       <tr>
  394.         <td>
  395.         <div style="text-align: right;">پر کردن فرم زیر اختیاری است. این اطلاعات در  جهت پشتیبانی بهتر شما. ما این اطلاعات را محرمانه نگه می داریم و در اختیار شخص ثالثی قرار .نخواهیم داد<br /><br />
  396.         </div>
  397.         <table class="bodytext" border="0" cellpadding="3" cellspacing="0" width="100%">
  398.           <tbody>
  399.             <tr>
  400.               <td colspan="4" bgcolor="#e0e0ff"><b>مشخصات شما:</b></td>
  401.             </tr>
  402.             <tr>
  403.               <td>&nbsp;</td>
  404.               <td><b><strong>نام</strong>:</b></td>
  405.               <td align="right">&nbsp;</td>
  406.               <td><input maxlength="100" name="name" size="28" /></td>
  407.             </tr>
  408.             <tr>
  409.               <td>&nbsp;</td>
  410.               <td><b>پست الکترونیک:</b></td>
  411.               <td align="right">&nbsp;</td>
  412.               <td><input maxlength="100" name="email" size="28" /></td>
  413.             </tr>
  414.             <tr>
  415.               <td>&nbsp;</td>
  416.               <td><b>سازمان:</b></td>
  417.               <td align="right">&nbsp;</td>
  418.               <td><input maxlength="100" name="company" size="28" /></td>
  419.             </tr>
  420.             <tr>
  421.               <td>&nbsp;</td>
  422.               <td><b>نوع استفاده :</b></td>
  423.               <td align="right">&nbsp;</td>
  424.               <td>
  425.               <select name="category">
  426.               <option value="" selected="on">انتخاب مجموعه</option>
  427.               <option value="personal">شخصی</option>
  428.               <option value="company">شرکتی</option>
  429.               <option value="government">سازمانی</option>
  430.               <option value="nonprofit">غیر انتفایی</option>
  431.               <option value="university">دانشگاهی</option>
  432.               <option value="school">مدرسه ای</option>
  433.               </select>
  434.               </td>
  435.             </tr>
  436.             <tr>
  437.               <td></td>
  438.               <td><b>ثبت نام در خبرنامه امنیتی مامبو</b><strong>؟</strong></td>
  439.               <td></td>
  440.               <td><a href="http://mambo-foundation.org/mailman/listinfo/security-notification_mambo-foundation.org" target="_blank">اینجا کلیک کنید</a><br />
  441.               </td>
  442.             </tr>
  443.             <tr>
  444.               <td></td>
  445.               <td><span style="font-weight: bold;">آیا مایلید به تیم مامبو بپیوندید؟</span></td>
  446.               <td></td>
  447.               <td><input name="teammambo" value="teammambo" type="checkbox" /></td>
  448.             </tr>
  449.             <tr>
  450.               <td>&nbsp;</td>
  451.               <td valign="top"><b>توضیحات اضافی:</b></td>
  452.               <td valign="top">&nbsp;</td>
  453.               <td valign="top"><textarea name="comments" cols="35" rows="3"></textarea>
  454.               </td>
  455.             </tr>
  456.             <tr>
  457.               <td></td>
  458.               <td style="text-align: center;">پشتیبانی از پروژه مامبو:</td>
  459.               <td></td>
  460.               <td>ما از پشتیبانی شما قدردانی می کنیم!</td>
  461.             </tr>
  462.             <tr>
  463.               <td></td>
  464.               <td style="text-align: center;"><a
  465.  href="http://www.mambo-foundation.org/view/Help_Support_the_Mambo_Foundation/" target="_blank"><img
  466.  style="border: 0px solid ; width: 73px; height: 44px;" alt=""
  467.  src="../images/M_images/donate.gif" /></a></td>
  468.               <td></td>
  469.               <td><input value="تایید" type="submit" />
  470.               <input value="انصراف" type="submit" /></td>
  471.             </tr>
  472.           </tbody>
  473.         </table>
  474.         </td>
  475.       </tr>
  476.     </tbody>
  477.   </table>
  478. </form>
  479. </div>
  480. </div>
  481. </div>
  482. <div class="clr"></div>
  483. <div class="ctr">
  484. <?php echo T_('<a href="http://www.mambo-foundation.org" target="_blank">Mambo </a> is Free Software released under the <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GNU/GPL License</a>.'?>
  485. </div>
  486. </body>
  487. </html>

Documentation generated on Mon, 05 May 2008 16:20:36 +0400 by phpDocumentor 1.4.0