ilch Forum » Ilch Clan 1.1 » Allgemein » News breiter machen

Geschlossen
  1. #1
    User Pic
    beschi Mitglied
    Registriert seit
    27.05.2013
    Beiträge
    180
    Beitragswertungen
    0 Beitragspunkte
    Hallo wollte mal fragen ob mann die News breiter machen kann
    Hoffe das ist der richtige Code
    <div class="news">
    <div class="news_head"><div class="news_name"><a href="index.php?news-{id}">{title}</a></div><div class="news_date">{datum}</div></div>
    <div class="news_text"><div style="float:left;margin-right:10px;">{kate}</div>{text}<div class="news_readmore"><a href="index.php?news-{id}"><img src="include/images/news/weiterlesen-trans.png" alt="" border="0" /></a></div><div class="clearboth">&nbsp;</div></div>
    <div class="news_foot"><div class="news_autor">Autor: {username}</div><div><a href="index.php?news-{id} ">Weiterlesen und Kommentieren</div></div>
    </div>
    {EXPLODE}
    <br />
    <br /><center>{SITELINK}</center>
    
    {EXPLODE}
    <div class="news">
    <div class="head_color" >{NAME}</div>
    <div class="news_text"><div style="float:left;margin-right:10px;">{KATE}</div>
    {TEXT}
    <div class="clearboth"></div>
    
    <a href="index.php?news"><div class="news_back">{_lang_back}</div></a><div class="clearboth"></div>
    </div>
    <div class="news_foot"><div class="news_autor">Autor: {username}</div><div class="news_date">{datum}</div></div>
    </div>
    
    <div class="news">
    <div class="news_head">{_lang_commentsfor} {NAME}</div>
    </div>
    
    {EXPLODE}
    <div class="news">
    	    <form action="index.php?news-{NID}" method="POST">
              <span style="margin-left:1%;">{_lang_writecomment}</span><br />
              <input type="text" name="name" value="{uname}" style="margin-left:1%;"/> &nbsp; {ANTISPAM} &nbsp; <input type="submit" value="{_lang_enter}"><br />
              <textarea style="width: 98%; margin-left:1%;" cols="50" rows="2" name="txt"></textarea><br />
          </form>
    </div>	  
    
    {EXPLODE}
    
    <div class="news" style="padding:3px;">
          <span>von {NAME}</span>
          <br />{TEXT}<br />
    </div>	
          {EXPLODE}
    <br />
    <a href="index.php?news"><div class="news_back">{_lang_back}</div></a><div class="clearboth"></div><br />
    
    {EXPLODE}
    
    <table width="100%" border="0" cellspacing="0" cellpadding="5" class="rand">
      <tr class="mite">
        <td width="65%"><b>{NAME}</b></td>
        <td width="15%">{FUER}</td>
        <td width="20%" align="right">{DATE}</td>
      </tr><tr class="norm">
        <td valign="top" colspan="2">{TEXT}{MEHR}</td>
        <td valign="top" rowspan="2" align="center">{KATE}</td>
      </tr><tr class="norm">
        <td valign="bottom" height="20" colspan="2" align="center">
          <b>{_lang_from} {UNAME}</b> &nbsp; &nbsp; &nbsp; [ {KOM} <a href="index.php?news-1&amp;nid={ID}">{_lang_comments}</a> ]
        </td>
      </tr>
    </table>



    Zuletzt modifiziert von beschi am 03.08.2013 - 16:21:34
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    holz Hall Of Fame
    Registriert seit
    17.11.2005
    Beiträge
    4.606
    Beitragswertungen
    117 Beitragspunkte
    nein das musst du im design machen

    am besten wäre auch mal der link zur webseite
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    beschi Mitglied
    Registriert seit
    27.05.2013
    Beiträge
    180
    Beitragswertungen
    0 Beitragspunkte
    Ok hier der Code und hier die Homepage externer Link sorry
    html, body{
    margin:0;
    padding:0;
    font-family:Arial;
    background: #ffffff url(images/bg2.jpg);
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-position:center;
    }
    html, body, #center, #center td, #container td, #container{
    height:100%;
    }
    a{
    color:#000000;
    text-decoration:none;
    }
    a:hover ,#login_task a:hover, #login_task a#regist:hover,.last_forum_top a:hover{
    color:#737373;
    text-decoration:none;
    }
    .btn_small:hover,.btn_big:hover, .btn_big a:hover, .btn_small a:hover{
    color:#000000;
    
    }
    .last_forum_top a{
    color:#f25200;
    }
    .topic{
    color:#9f754c;
    font-size:9px;
    
    }
    .topic2{
    color:#9f754c;
    font-size:11px;
    
    }
    .topic a{
    color:#5f5f5f;
    font-size:11px;
    }
    .topic3{
    color:#5f5f5f;
    font-size:11px;
    }
    .topic a:hover{
    color:#000000;
    }
    #inhalt{
    margin-top:5px;
    font-size:12px;
    width:484px;
    margin-bottom:10px;
    }
    #inhalt2{
    margin-top:5px;
    font-size:12px;
    width:659px;
    margin-bottom:10px;
    }
    #inhalt table,#inhalt2 table{
    font-size:12px;
    
    }
    
    #header{
    position:absolute;
    z-index:40;
    height:220px;
    width:1000px;
    background:url(images/header.png) no-repeat;
    }
    #header_title{
    position:absolute;
    top:59px;
    left:170px;
    z-index:10;
    }
    #header_box{
    position:absolute;
    width:220px;
    height:127px;
    top:50px;
    right:0px;
    z-index:10;
    padding-left:90px;
    }
    #header_box_down{
    position:absolute;
    width:467px;
    height:53px;
    background:url(images/header_box_down-trans.png) no-repeat;
    top:130px;
    left:110px;
    z-index:10;
    }
    #header_box_down_title{
    color:#ffffff;
    position:absolute;
    left:27px;
    font-size:10px;
    z-index:10;
    }
    #header-bg{
    height:220px;
    width:100%;
    background:url(images/header_bg.png);
    position:absolute;
    left:0px;
    z-index:0;
    }
    #content{
    top:0px;
    height:100%;
    width:1000px;
    z-index:1;
    padding:0px 0px 0px 0px;
    }
    #com_sub{
    background:grey;
    position:absolute;
    width:118px;
    left:270px;
    z-index:100;
    top:32px;
    opacity: 0;
    }
    #com_sub ul{
    list-style-type:none;
    padding:0;
    margin:0;
    font-size:11px;
    }
    #content_padding-top{
    height:230px;
    width:1000px;
    clear:both;
    
    }
    #content_padding-bottom{
    height:176px;
    width:1000px;
    clear:both;
    }
    #menu{
    width:730px;
    height:38px;
    padding-left:170px;
    }
    .menu_point{
    text-align:center;
    padding-top:7px;
    width:133px;
    height:24px;
    background:url(images/b_off-trans.png) no-repeat;
    float:left;
    color:#ffffff;
    padding-right:8px;
    margin-left:-21px;
    cursor:pointer;
    }
    div.menu_point:hover{
    background:url(images/b_on-trans.png) no-repeat;
    }
    #footer{
    height:166px;
    width:1000px;
    background:url(images/footer.png);
    z-index:40;
    margin-top:-166px;
    }
    #footer_copy{
    font-size:12px;
    color:#adacab;
    height:70px;
    text-align:center;
    padding-top:60px;
    }
    #footer_menu a,#footer_copy a{
    color:#adacab;
    }
    #footer_menu a:hover, #footer_copy a:hover{
    color:#f25200;
    }
    #footer_menu{
    height:30px;
    text-align:right;
    padding-right:10px;
    color:#adacab;
    font-size:11px;
    }
    #footer_menu img{
    margin-bottom:-2px;
    }
    #footer-bg{
    left:0px;
    position:absolute;
    height:166px;
    width:100%;
    background:url(images/footer_bg.png) repeat-x ;
    z-index:-1;
    }
    #content_left{
    float:left;
    width:150px;
    padding-left:20px;
    }
    #content_right{
    width:250px;
    float:left;
    padding-left:30px;
    }
    #content_center{
    width:499px;
    float:left;
    padding-left:25px;
    } 
    #content_center2{
    width:674px;
    padding-left:20px;
    float:left;
    }
    .head_color{
    background:url(images/head_color.png);
    color:#ffffff;
    height:20px;
    font-size:14px;
    padding:5px 5px 3px 5px;
    }
    .head_color a{
    color:#ffffff;
    }
    .head_color a:hover{
    color:#f25200;
    }
    .content{
    font-size:12px;
    }
    .box_out{
    width:250px;
    background:#ffffff;
    padding:5px;
    border:#e7e7e7 solid 2px;
    }
    .box_in{
    background:#ffffff;
    border:#dcdcdc solid 1px;
    }
    .box_header{
    color:#737373;
    padding-left:5px;
    padding-bottom:3px;
    font-weight:bold;
    height:10px;
    font-size:11px;
    background:url(images/box_header.png) repeat-x;
    margin-top:5px;
    margin-bottom:5px;
    }
    #rotation_links{
    width:162px;
    height:606px;
    background:url(images/werbung_links.png) no-repeat;
    overflow:hidden; 
    padding-top:30px;
    padding-left:7px;
    
    }
    
    .progress_case{
    width:220px;
    height:19px;
    position:relative;
    text-align:center;
    }
    .progress_overlay{
    width:220px;
    height:19px;
    background:url(images/progressbar_overlay.gif) no-repeat;
    z-index:9999;
    position:absolute;
    }
    .progress_bar{
    height:19px;
    background:url(images/progressbar_orange.gif) no-repeat;
    position:absolute;
    }
    .progress_text{
    width:220px;
    height:13px;
    z-index:99999;
    position:absolute;
    color:#ffffff;
    font-size:11px;
    padding-top:2px;
    }
    
    #rotation_links ul, #rotation_links li{
    margin:0;
    padding:0;
    list-style:none;
    width:148px;
    height:598px;
    }
    #rotation_unten{
    width:478px;
    height:80px;
    background:url(images/werbung_unten.png) no-repeat;
    overflow:hidden; 
    padding-top:16px;
    margin-left:-16px;
    }
    #rotation_unten ul, #rotation_unten li{
    margin:0;
    padding:0;
    list-style:none;
    width:468px;
    height:69px;
    }
    #rotation_links img ,#rotation_unten img{
     border:none;
     }
    #gallery{
    width:484px;
    height:217px;
    background:url(images/rotation_bg.png);
    }
    
    #search_input{
    background:url(images/search_input.png) no-repeat transparent;
    width:174px;
    height:22px;
    border:none;
    margin-top:15px;
    margin-left:10px;
    padding:3px 5px 3px 5px;
    font-size:10px;
    }
    #search_button{ 
    background:url(images/search_button.png) no-repeat transparent; 
    width:45px;
    height:25px;
    border:none;
    font-size:0;
    position:absolute;
    margin-top:13px;
    margin-left:5px;
    }
    .login_input{
    background:url(images/login_input.png) no-repeat transparent;
    width:120px;
    height:25px;
    border:none;
    margin-top:20px;
    padding:3px 5px 3px 5px;
    font-size:10px;
    }
    .login_title{
    background:url(images/login_title.png) no-repeat transparent;
    color:#ffffff;
    width:63px;
    height:15px;
    border:none;
    margin-top:5px;
    margin-left:15px;
    padding:7px 5px 3px 5px;
    font-size:11px;
    float:left;
    }
    #login_task{
    background:url(images/login_task.png) no-repeat transparent;
    color:#ffffff;
    width:207px;
    height:11px;
    padding:1px 20px 1px 20px ;
    font-size:9px;
    margin-top:6px;
    margin-left:8px;
    }
    #login_task a{
    color:#ffffff;
    }
    
    #login_task a#regist{
    color:red;
    }
    #login_submit{
    border:none;
    background:transparent;
    color:#ffffff;
    font-size:9px;
    height:12px;
    margin-top:-2px;
    }
    #login_submit:hover{
    color:#666666;
    }
    
    .last_forum{
    text-align:center;
    border-bottom:1px #d1d1d1 solid;
    padding:3px;
    }
    .last_forum2, .last_stats3, .vote_more{
    text-align:right;
    padding:10px;
    }
    .vote_more{
    border-top:2px #d1d1d1 solid;
    }
    .last_forum_top{
    color:#f25200;
    font-size:12px;
    font-weight:bold;
    }
    
    .last_forum_bottom{
    color:#737373;
    font-size:10px;
    font-weight:bold;
    }
    .last_stats{
    color:#737373;
    font-size:11px;
    background:#ededed;
    padding:2px 0px 2px 10px;
    }
    .last_stats2{
    color:#737373;
    font-size:11px;
    background:#e3e3e3;
    padding:2px 0px 2px 10px;
    }
    #vote_button{ 
    background:url(images/vote_button.png) no-repeat transparent; 
    width:45px;
    height:25px;
    border:none;
    font-size:0;
    margin-top:5px;
    margin-left:5px;
    }
    .vote_off{
    font-size:12px;
    font-weight:bold;
    color:#737373;
    padding:5px;
    }
    .vote b{
    font-size:13px;
    float:left;
    }
    .vote{
    padding:4px;
    background:#ededed;
    }
    .vote_send{
    background:#ededed;
    padding:4px;
    }
    .vote_td_1, .vote_td_3, .vote_td_5, .vote_td_7, .vote_td_9, .vote_td_11, .vote_td_13, .vote_td_15, .vote_td_17, .vote_td_19, .downs_td_1{
    background:#e3e3e3;
    padding:2px 0px 2px 10px;
    font-size:11px;
    }
    .vote_td_2, .vote_td_4, .vote_td_6, .vote_td_8, .vote_td_10, .vote_td_12, .vote_td_14, .vote_td_16, .vote_td_18, .vote_td_20, .downs_td_2{
    background:#ededed;
    padding:2px 0px 2px 10px;
    font-size:11px;
    }
    .vote_balken{
    background:#f66f01;
    margin-top:1px;
    margin-bottom:7px;
    font-size:1px;
    height:5px;
    }
    .vote_voted{
    color:#f66f01;
    font-size:10px;
    padding-left:11px;
    padding-top:4px;
    font-weight:bold;
    }
    .vote_foot{
    margin:-1px;
    background:#eaeaea;
    padding:4px;
    }
    .marginbottom10{
    margin-bottom:10px;
    }
    .marginbottom3{
    margin-bottom:3px;
    }
    .border{
    border:#dcdcdc solid 1px;
    background:#ffffff; 
    margin-bottom:10px;
    }
    .border_ueberall{
    border:#dcdcdc solid 1px;
    background:transparent; 
    }
    .border_ueberall td{
    border:#dcdcdc solid 1px;
    background:#ffffff; 
    }
    .border2{
    border:#dcdcdc solid 1px;
    }
    .border3{
    border:#dcdcdc solid 1px;
    background:#ffffff; 
    margin-bottom:2px;
    }
    .border3 td{
    font-size:11px;
    }
    a.Admin, span.Admin{
    
    color:#fc0202;
    
    }
    
    a.Admin, span.Admin{
    
    color:#fc0202;
    
    }
    
    a.Co-Admin, span.Co-Admin{
    color:#ff5a00;
    }
    a.Moderator, span.Moderator{
    color:#0060ff;
    }
    .news{
    border:#dcdcdc solid 1px;
    background:#ffffff; 
    margin-bottom:10px;
    position:static;  
    }
    .news .head_color{
    padding:5px 5px 0px 5px;
    }
    .news_head{
    height:20px;
    padding:5px 5px 0px 5px;
    }
    .news_text{
    padding:5px 5px 25px 5px;
    font-size:11px;
    
    position:relative;
    }
    .news_name{
    color:#ffffff;
    font-size:14px;
    width:70%;
    float:left;
    }
    .news_readmore{
    position:relative;
    bottom:-20px;
    right:0px;
    float:right;
    width:100px;
    height:20px;
    text-align:right;
    margin-top:-10px;
    
    }
    .news_date{
    float:right;
    font-size:11px;
    width:30%;
    text-align:right;
    }
    
    .news_foot{
    padding:5px;
    background:#eaeaea;
    height:13px;
    }
    .news_autor{
    width:50%;
    float:left;
    }
    .news_kom{
    float:right;
    }
    
    .news_back {
    padding:3px;
    background:#ffffff;
    float:left;
    clear:both;
    position:relative;
    border:1px #000000 solid;
    margin-top:25px;
    bottom:0px;
    margin-bottom:-15px;
    } 
    
    
    
    
    .user_back {
    padding:3px;
    background:#ffffff;
    float:left;
    clear:both;
    position:static;
    border:1px #000000 solid;
    margin-top:5px;
    margin-bottom:-10px;
    } 
    .clearboth{
    clear:both;
    }
    
    .news .clearboth{
    
    clear:both;
    
    margin-top:-20px;
    
    height:0px;
    
    font-size:0px;
    
    }
    
    .btn_small{
    background:url(images/btn_small.png) transparent;
    border:none;
    height:17px;
    width:80px;
    text-align:center;
    color:white;
    font-size:10px;
    padding:0px;
    cursor:pointer;
    padding-top:8px;
    font-weight:normal;
    }
    input.btn_small {
    height:25px;
    padding:0px;
    }
    input.btn_big {
    height:25px;
    padding:0px;
    }
    .btn_big{
    background:url(images/btn_big.png) transparent;
    border:none;
    height:17px;
    width:104px;
    text-align:center;
    color:white;
    font-size:10px;
    padding-top:8px;
    cursor:pointer;
    font-weight:normal;
    }
    div.btn_big a, div.btn_small a{
    color:#ffffff;
    font-weight:normal;
    }
    #hmenu{
    border-bottom:1px #98632a solid;
    }
    .legende_forum{
    padding-top:7px;
    height:14px;
    font-size:10px;
    color:#5f5f5f;
    }
    
    .mpl{
    
    clear:both;
    }
    .mpl_space {
    padding:3px;
    float:left;
    background:#ffffff;
    position:static;
    border:1px #000000 solid;
    margin-left:3px;
    
    } 
    .mpl_link {
    padding:3px;
    float:left;
    background:#ffffff;
    position:static;
    border:1px #000000 solid;
    margin-left:3px;
    } 
    .mpl_total{
    padding:3px 4px 3px 4px;
    float:left;
    background:#ffffff;
    position:static;
    border:1px #000000 solid;
    } 
    .mpl_sites{
    float:right;
    position:static;
    
    } 
    
    
    .latestdowns{
    
    color:#919293;
    
    font-size:10px;
    
    width:147px;
    
    height:34px;
    
    margin-top:14px;
    
    margin-left:1px;
    
    margin-right:1px;
    
    float:left;
    
    position:relative;
    
    padding:3px;
    
    }
    
    .latestdowns .readmore{
    
    float:right;
    
    }
    .latestdowns .readmore a{
    
    color:#f25200;
    
    position:absolute;
    
    right:2px;
    
    bottom:3px;
    
    font-size:9px;
    
    }
    .latestdowns .readmore a:hover{
    
    color:#919293;
    
    }
    
    
    
    .gbook_entries{
    padding:3px;
    float:left;
    background:#ffffff;
    position:static;
    border:1px #aaaaaa solid;
    }
    
    
    
    ul.dropdown{ 
    margin-top:-16px;
    position: relative; 
    list-style: none;
    }
    ul.dropdown li{ 
    float: left;
    background:url(images/b_off-trans.png);
    margin-left:-12px;
    height:31px;
    }
    ul.dropdown li a {
    width:137px;
    text-align:center;
    display: block;
    padding-top:7px;
    color: #ffffff;
    
    padding-left:4px;
    }
    ul.dropdown li:hover{
    background:url(images/b_on-trans.png);
    color: black;
    position: relative;
    }
    ul.dropdown li.hover a {
    color: #ffffff;
    background-image:none;
    }
    
    
    /* 
    	LEVEL TWO
    */
    ul.dropdown ul{
    background-image:none;
    width: 114px; 
    visibility: hidden; 
    position: absolute; 
    top: 100%; 
    margin-left:-26px; 
    font-size:12px;
    z-index:100;
    list-style: none;
    
    }
    ul.dropdown ul li { 
    background-image:none;
    font-weight: normal; 
    background: #111111; 
    float: none; 
    text-align:left;
    height:25px;
    }
    
    ul.dropdown ul li a{ 
    float: none; 
    text-align:left;
    
    }
    
    ul.dropdown ul li:hover{ 
    background-image:none;
    background: #333333; 
    
    }
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Rock@wulf Hall Of Fame
    Registriert seit
    03.06.2004
    Beiträge
    3.282
    Beitragswertungen
    239 Beitragspunkte
    Meine Postings repräsentieren meine Meinung wenn nicht anders gekennzeichnet.
    MFG Rock@wulf
    0 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    beschi Mitglied
    Registriert seit
    27.05.2013
    Beiträge
    180
    Beitragswertungen
    0 Beitragspunkte
    ich habe die design.ini erstellt und news = "index_news.htm" in die design.ini eingetragen und zusätzlich habe ich die index.htm kopiert und auf dem rechner unbenannt in index_news.htm, danach habe ich dann die htm wieder auf den ftp geladen. leider hat sich nichts getan.

    sory das ich das noch einmal zum leben erwecke aber wir haben gerade jetzt wieder das gleiche problem


    Zuletzt modifiziert von beschi am 21.09.2013 - 17:42:56
    0 Mitglieder finden den Beitrag gut.
  6. #6
    User Pic
    Maretz Hall Of Fame
    Registriert seit
    28.02.2009
    Beiträge
    740
    Beitragswertungen
    74 Beitragspunkte
    Die index.htm vom Design stellt ja die jetzige Ansicht an.
    Um die News, bzw. Forum usw. eine andere, breitere Darstellungen zu geben,was man durch das Entfernen des rechten Menü´s bewirken kann, müsstest du einige Änderungen vornehmen.

    Es muss sozusagen das Design im Contentbereich neu gecodet werden,was auch grafische Änderungen mit sich zieht, wenn dies vorhanden ist ( bg-content ect.... ) .

    Mit kleinen Änderungen wird dies nicht umgestzt sein, zumal bei dir auch weitere Platzhalter über den Content sitzen.
    Diese müssten in der breiten Ansicht ggf. entfernt werden.

    Unter Anfragen / Angebote hier im Forum sollte sicherlich Hilfe zu finden sein.


    Mfg Maretz
    0 Mitglieder finden den Beitrag gut.
  7. #7
    User Pic
    Swamp Mitglied
    Registriert seit
    02.02.2006
    Beiträge
    2.094
    Beitragswertungen
    21 Beitragspunkte
    Hallo beschi,

    siehe auch hier:
    externer Link


    Zuletzt modifiziert von Swamp am 23.09.2013 - 11:54:51
    Wer zuletzt lacht, hat den schlechtesten Ping.
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Allgemein

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten