| Line | |
|---|
| 1 | <?php
|
|---|
| 2 | //hlavièka
|
|---|
| 3 | include 'includes/Global.php';
|
|---|
| 4 |
|
|---|
| 5 | function GetHtmlChar($TestString)
|
|---|
| 6 | { // BEGIN function GetHtmlChar
|
|---|
| 7 | $TestString=str_replace("\r", "<br />", $TestString);
|
|---|
| 8 | //str_replace("\r", "<br>", $Line[2])
|
|---|
| 9 | return $TestString;
|
|---|
| 10 | } // END function GetHtmlChar
|
|---|
| 11 | ?>
|
|---|
| 12 | <br /><span class="Title">Odkazy: </span>
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 | <?php
|
|---|
| 16 | $sql = "SELECT * FROM links order by 1";
|
|---|
| 17 | $ID = $db->SQLCommand($sql);
|
|---|
| 18 | while($Line = mysql_fetch_array($ID)) {
|
|---|
| 19 | echo '<div class="LinksItem"><span class="LinksName">'.$Line['Name'].'</span> - <a href="'.$Line['Address'].'">'.$Line['Address'].'</a> (<span class="NewsText">Pøidáno:</span> <span class="Date">'.$Line['Date'].'</span>)<br>';
|
|---|
| 20 | $Text = GetHtmlChar($Line['Description']);
|
|---|
| 21 | echo '<span class="NewsText">'.$Text.'</span></div>';
|
|---|
| 22 | }
|
|---|
| 23 | ?>
|
|---|
| 24 |
|
|---|
| 25 | <?php
|
|---|
| 26 | //botièka (konec)
|
|---|
| 27 | ShowFooter();
|
|---|
| 28 | ?>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.