Advertisement
terorama

rssloader / test_usage.php

Aug 21st, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.77 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Упражнение по разметке 1</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="Description" content="Trainings" />
  7. <meta name="keywords" content="HTML,CSS,JavaScript" />
  8.  
  9. <script type="text/javascript" src="loader.js"></script>
  10.  
  11. <style type="text/css">
  12.  
  13.    * {
  14.       margin:0px;
  15.       padding:0px;
  16.       font-family:Verdana,sans-serif;
  17.       font-size:10pt;
  18.    }
  19.  
  20.    
  21.    .rsscontent {
  22.       font-size:0.86em;
  23.       padding:5px 10px 5px 10px;
  24.    }
  25.    
  26.    .rsscontent p {
  27.       font-size:100%;
  28.    }
  29.          
  30.    .rsscontent h3 {
  31.       margin-bottom:16px;
  32.    }
  33.    
  34.    .rsscontent h3 a {
  35.       color:#444;
  36.       text-decoration:none;
  37.       border:none;
  38.       font-size:0.86em;
  39.    }
  40.    
  41.    .rssdate {
  42.       margin-top:5px;
  43.       font-size:smaller!important;
  44.       font-style:italic;
  45.    }
  46.    
  47.    .rsssplit {
  48.       height:2px;
  49.       background:#eeeeee;
  50.    }
  51.    
  52.    .rsscontent a {
  53.       color:#800;
  54.       text-decoration:none;
  55.       border-bottom:dotted 1px #800;
  56.       font-size:100%;
  57.    }
  58.    
  59.     /*------------------------------------------*/
  60.     #allcontent {
  61.        width:1200px;
  62.     }
  63.    
  64.     /*------------------------------------------*/
  65.    #header {
  66.       height:100px;
  67.       position:relative;
  68.       background:#ffffe0 url('images/header.jpg') no-repeat left top ;
  69.    }
  70.    /*------------------------------------------*/
  71.    
  72.    #leftpart {
  73.       float:left;
  74.       width:300px;
  75.       background:#e0e0e0;    
  76.      
  77.      
  78.    }
  79.    
  80.    #leftpart .rsscontent {
  81.      
  82.    }  
  83.    
  84.    #leftpart img {
  85.       float:right;
  86.       margin-left:8px;
  87.    }  
  88.    
  89.   /*------------------------------------------*/
  90.    #rightpart {
  91.       float:right;
  92.       width:210px;
  93.  
  94.    }
  95.    
  96.  
  97.    /*------------------------------------------*/
  98.  
  99.    
  100.    #centerpart {
  101.       margin-left:311px;
  102.       margin-right:220px;
  103.       background:#eee;
  104.  
  105.    }
  106.    
  107.     /*------------------------------------------*/
  108.    #centerheader {
  109.       position:relative;
  110.       height:100px;
  111.       background:#666 url('images/header3.jpg') no-repeat top left;
  112.       color:white;
  113.       font-weight:bold;
  114.          
  115.       margin:auto;
  116.    }
  117.    
  118.    #centheadright {
  119.       position:relative;
  120.       height:101px;
  121.       width:204px;
  122.       left:466px;
  123.       top:-1px;
  124.       background:red url('images/subruhead.jpg') no-repeat top left;
  125.    }
  126.    /*------------------------------------------*/
  127.    #leftcenterpart {
  128.       float:left;
  129.       width:40%;
  130.       background:white;
  131.    }
  132.    
  133.    #leftcenterpart .rsssplit {
  134.       clear:left;
  135.    }
  136.    
  137.    /*------------------------------------------*/
  138.    #rightcenterpart {
  139.      
  140.  
  141.    }
  142.    
  143.    #rightcenterpart .wrapper {
  144.      
  145.    }
  146.    
  147.    #rightcenterpart .rsssplit {
  148.       display:none;
  149.    }  
  150.    
  151.    #rightcenterpart .rssrowsplit {
  152.       float:left;
  153.       width:40%;
  154.       height:1px;
  155.       background:#888;
  156.       position:relative;
  157.       left:50px;
  158.       bottom:10px;
  159.    }
  160.    
  161.    #rightcenterpart .rsscontent {
  162.       float:left;
  163.       width:150px;
  164.       margin-right:5px;
  165.       margin-bottom:5px;
  166.  
  167.       height:300px;
  168.       overflow:hidden;
  169.      
  170.       position:relative;
  171.       left:10px;
  172.    }
  173.  
  174.    /*------------------------------------------*/
  175.    #centerfooter {
  176.  
  177.       background:#666;
  178.       color:white;
  179.       float:left;
  180.       margin-top:5px;    
  181.      
  182.    }
  183.    
  184.    #centerfooter a {
  185.       color:white;
  186.    }
  187.    
  188.    #centerfooter .rsscontent {
  189.       float:left;
  190.       width:180px;
  191.       height:300px;
  192.       overflow:hidden;
  193.  
  194.       margin-top:5px;
  195.       margin-right:5px;
  196.    }
  197.    
  198.    #centerfooter .rsssplit, #centerfooter .rssrowsplit{
  199.       display:none;
  200.    }
  201.    
  202.    /*------------------------------------------*/
  203.    #footer {
  204.  
  205.       clear:both;
  206.       margin-top:5px;
  207.       background:#999;
  208.       padding-left:10px;
  209.       padding-top:10px;
  210.    }
  211.    
  212.    #footer .rsscontent {
  213.       float:left;
  214.       border:solid 1px #666;
  215.       width:200px;
  216.       height:250px;
  217.       margin-right:10px;
  218.       margin-bottom:10px;    
  219.       background:white;
  220.       overflow:hidden;
  221.    }
  222.    
  223.    #footer .rsssplit {
  224.       display:none;
  225.    }
  226.    
  227.    
  228.    #footer .rsscontent p, #footer .rsscontent h3 {
  229.  
  230.    }
  231.    /*------------------------------------------*/
  232.    .inheader {
  233.       position:absolute;
  234.       top:40%;
  235.       left:40%;
  236.       border:solid 1px red;
  237.      
  238.    }
  239.    
  240.    .inheader3 {
  241.       position:absolute;
  242.       top:30px;
  243.       left:50px;
  244.       border:solid 1px red;
  245.    }
  246.    
  247.  
  248. </style>
  249.  
  250.  
  251. </head>
  252.  
  253. <body>
  254. <?php require 'funcs3.inc.php';?>
  255.  
  256. <div id="allcontent">
  257. <div id="header"><div class="inheader">Main Header</div></div>
  258.  
  259.    <div id="leftpart">
  260.       <?php echo drawrss('afisha',15); ?>
  261.    </div>
  262.    
  263.    <div id="rightpart">
  264.       <?php echo drawrss('lookatme4',9);?>
  265.    </div>
  266.    
  267.    <div id="centerpart">
  268.       <!---------------------------------->
  269.       <div id="centerheader">
  270.         <div id="centheadright">
  271.         </div>     
  272.         <div class="inheader3">
  273.             Central Header
  274.          </div>
  275.       </div>
  276.       <!---------------------------------->
  277.       <div id="leftcenterpart">
  278.          <?php echo drawrss('lookatme',10);?>
  279.          
  280.          
  281.       </div>
  282.       <!---------------------------------->
  283.       <div id="rightcenterpart">
  284.          <div class="wrapper">
  285.             <?php echo drawrss('gazeta',10);?>
  286.          </div>
  287.       </div>
  288.      
  289.       <div style="float:left;width:100%;height:10px;background:#888;"></div>
  290.       <!--<div  style="clear:both;height:5px;background:#888"></div>-->
  291.       <!---------------------------------->
  292.       <div id="centerfooter">
  293.          <?php echo drawrss('newsru',12);?>
  294.       </div>
  295.      
  296.       <div style="clear:both;"></div>
  297.    </div>
  298.  
  299.  
  300. <div id="footer">
  301.    <?php echo drawrss('lookatme3',15); ?>
  302.    <div style="clear:both;"></div>
  303. </div>
  304. </div>
  305.  
  306.  
  307.  
  308.  
  309.  
  310. </body>
  311. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement