Просмотр файла id2764/NS_README.html

Размер файла: 2.15Kb
<body bgcolor=#D1E7FE>
<title>News Stream / Read Me</title>

<? include("configure.php"); ?>

<font size=3>

<p>
Thank you for using <i>News Stream</i>! If you have any questions, or problems with NS, be sure to read over this thoroughly, as it will hopefully answer most questions.
</p>


<p>
<b>// Requirements</b>
<br>PHP and a mySQL database.
</p>

<p>
<b>// Installation/Upgrading</b>
<br><b>1.</b> Unzip newsstream.zip.

<br><b>2.</b> Configure NS in 'configure.php'.

<br><b>3.</b> If you are installing for the first time, upload the folder 'newsstream', and all of its contents to your site.
<br>   B) If you are upgrading, upload just the contents of the 'upgrade' folder to your 'newsstream' directory and overwrite the old files.

<br><b>4.</b> Run the installation script if you are installing for the first time. (<b>install_1.php</b>)
<br>   B) If you are upgrading, run the upgrade script. (<b>upgrade_1.0.php</b>)

<Br><b>5.</b> Delete the following files:
<br>install_1.php (if you installed)
<br>install_2.php (if you installed)
<br>install_3.php (if you installed)
<Br>uninstall_1.php (if you installed)
<br>uninstall_2.php (if you installed)
<br>upgrade_1.0.php (if you upgraded)

<br><b>6.</b> Login with the username/password you provided during installation by going to the 'admin.php' file in your 'newsstream' directory.
</p>

<p>
<b>// Uninstallation</b>
<br><b>1.</b> If they're not already there, upload uninstall_1.php and uninstall_2.php.
<br><b>2.</b> Run uninstall_1.php.
<p>

<b>// Displaying news and headlines</b>
<br>Put the following code where you want to display news:
<br><b>&lt;? !--#include virtual="<i>http://www.yoursite.com/newsstream/listnews.php</i>" --&gt;</b>
<br>or if that doesn't work, try this:
<br><b>&lt;? include("<i>http://www.yoursite.com/newsstream/listnews.php</i>") ?&gt;</b>
<br>
<br>Put the following code where you want to display headlines:
<br><b>&lt;? !--#include virtual="<i>http://www.yoursite.com/newsstream/headlines.php</i>" --&gt;</b>
<br>or if that doesn't work, try this:
<br><b>&lt;? include("<i>http://www.yoursite.com/newsstream/headlines.php</i>") ?&gt;</b>
</font>