Курсовая работа: Информационно-обучающий сайт по ТОЭ/ТЭЦ
lessons.php
<?php
session_start();
include "blocks/db.php";
$result = mysql_query("SELECT title,meta_k,meta_d,text FROM settings WHERE page='lessons'",$db);
$myrow = mysql_fetch_array($result);
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="description" content="<?php echo $myrow['meta_d'] ?>">
<meta name="keywords" content="<?php echo $myrow['meta_k'] ?>">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title><?php echo $myrow['title']?></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="690" border="0" align="center" bgcolor="#FFFFFF" class="main_border" cellspacing="0" cellpadding="0">
<!--Подключаемшапкусайта-->
<?php include "blocks/header.php" ?>
<tr>
<td><table width="690" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--Подключаем левый блок сайта-->
<?php include "blocks/lefttd.php" ?>
<td width="508" valign="top"><p><?php echo $myrow['text'] ?></p>
<?php $result = mysql_query("SELECT id,title,description,autor,date FROM lessons",$db);
$myrow = mysql_fetch_array($result);
do { printf ( "<table align='center' class='lessons'>
<tr>