0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Index php is messy

    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    Re: Index php is messy

    Posted 16 years 7 months ago
    • I noticed it, a week or two ago, it was't like that before. I do not know what to do ???
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Index php is messy

    Posted 16 years 7 months ago
    • Have you tried re-downloading the template?
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: Index php is messy

    Posted 16 years 7 months ago
    • ...almost looks like the result of some fancy whitespace/compression? Strange. Did you open it in notepad first, then re-save it? I've had problems with notepad doing something similar, so started using just WodPad. :)
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Index php is messy

    Posted 16 years 7 months ago
    • If you use Windows then i'd suggest using UltraEdit or Notepad++ :)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Index php is messy

    Posted 16 years 7 months ago
    • You can clean this up in an editor such as textmate or pspad. Basically you just open it up and reformat/tidy it, then save it.
      /* @group Main */$html{height:100%;margin-bottom:1px;}
      body{margin:0;padding:0;}
      p{margin-top:0px;margin-bottom:0px;}
      h1,h2,h3,h4,h4,h5,h6{padding-bottom:0px;margin:0px 0;}
      fieldset{border:none;}
      /* @group Fonts *//* @group Sizes */body.f-smaller{font-size:11px;}
      body.f-default{font-size:13px;}
      body.f-larger{font-size:15px;}
      h1{font-size:180%;/* color:see style css */}
      h2{font-size:75%;text-transform:uppercase;font-family:Arial-Narrow,Helvetica,sans-serif;/* color:see style css */}
      h3{font-size:140%;}
      h4{font-size:120%;}
      h5{text-transform:uppercase;font-size:100%;}
      h6{font-style:italic;font-size:100%;}
      .small,.modifydate,.createdate,div.mosimage_caption{font-size:100%;}
      #nav a{font-size:110%;}
      .contentheading{font-size:200%;}
      .componentheading{margin-bottom:10px;}
      td.componentheading{padding-bottom:0px;}
      /* @end *//* @group Family */body{line-height:125%;font-family:Helvetica,Arial,sans-serif;}
      h3{font-family:Helvetica,Arial,sans-serif;}
      .contentheading,.componentheading{font-weight:bold;}
      .contentheading{/* see style css */}
      a:link,a:visited{text-decoration:underline;/* color:see style css */}
      a:hover{text-decoration:underline;/* color:see style css */}
      /* @end */div.bodybox .componentheading,div.moduletable-hilite1 h3,div.moduletable-hilite2 h3,div.moduletable-hilite3 h3,div.moduletable-hilite4 h3,div.moduletable h3,span.loginsubmit,span.logoutsubmit,span.glossbutton,span.searchtitle,ul.tabbernav,.jw_st_cont{text-transform:uppercase;font-size:12px;font-weight:bold;/* color:see style css */}
      /* @end *//* @end *//* @group Custom *//* @group accessibility *//* accessibility stuff *//*#access span{background-repeat:no-repeat;}
      #access a{text-decoration:none;dth}
      #access #buttons{float:right;}
      #access .button{display:block;float:right;width:14px;height:21px;margin-left:6px;background-repeat:no-repeat;cursor:pointer;}
      *//* @end *//* @group layout */#horiz-menu{background-color:#5d2427!important;}
      }
      #page-bg{height:100%;padding:5;margin-bottom:0px;/* background:see style css */}
      /***************************************************** * CHANGE WIDTH SETTINGS HERE * * To change the width of this template just edit this * div#wrapper element. * * Fixed - just chagne the width to your desired width * Fluid - remove the width element completely * *****************************************************/div#wrapper{width:985px;margin:0 auto;position:static;}
      div#horiz-menu a:link,div#horiz-menu a:visited{display:block;float:center;}
      .shad-padding{padding:0 0px;}
      #top-mod .shad-l{height:37px;overflow:hidden;}
      #top-mod{display:none;}
      #header .shad-l{position:static;}
      #header #access{position:static;right:21px;top:35px;width:70px;height:21px;border:0;}
      #header #logo{position:absolute;left:15px;top:3px;width:400px;height:250px;margin-bottom:3px;!important;}
      #header #nav-big{padding-top:7px;margin-left:290px;margin-right:100px;height:80px;overflow:hidden;}
      #header #nav-main{margin-bottom:3px !important;}
      /* #header #nav-main .shad-l{height:30px;}
      /*#mainbody .shad-5{width:100%;}
      #mainbody .padding{padding:6px 6px 5px 0px;}
      #body-bottom .shad-r{width:100%;}
      #body-bottom .shad-l{height:0px;overflow:hidden;}
      #footer-mods .shad-5{width:100%;}
      #usermod{margin:0 5px;}
      #usermod .padding{padding:7px 7px 7px 0px;}
      /*#footer{margin:0 0px;}
      #footer-bottom .shad-r{width:100%;}
      #footer-bottom .shad-l{width:100%;height:0px;}
      *//* @end *//* @group structure */table.mainbody{width:100%;}
      table.mainbody td.left,table.mainbody td.right{padding-left:0px;}
      td.right{background:#e4e4e4;}
      td.left{background:#ffffff;}
      !important/* change this to affect the width of the side modules */table.mainbody td.left,table.mainbody td.right{width:119px;}
      table.mainbody td.middle{}
      table.usermodules{width:100%;margin-bottom:0px;}
      table.usermodules td.modbg{width:25%;}
      table.footermodules{width:100%;}
      table.footermodules td{width:35%;padding:10px;;}
      table.footermodules td.rocket{width:30%;padding:0;}
      /* @end *//* @group modules */div#top-mod div.moduletable{padding:0;margin:0;}
      div.bodybox,div.moduletable,div.moduletable-hilite1,div.moduletable-hilite2,div.moduletable-hilite3,div.moduletable-hilite4{margin-bottom:0px;padding-bottom:1px;background:#e9e9e9}
      div.moduletable-tabs{margin:0;}
      div.bodybox{margin-left:0px;margin-bottom:0px;}
      div.moduletable,div.moduletable-hilite1,div.moduletable-hilite2,div.moduletable-hilite3,div.moduletable-hilite4,td.middle div.moduletable,td.left div.moduletable,td.right div.moduletable{padding:0px 10px 20px 10px;background:#15189b}
      div.moduletable-hilite1 h3,div.moduletable-hilite2 h3,div.moduletable-hilite3 h3,div.moduletable-hilite4 h3,div.moduletable h3{margin:-10px -10px -10px -10px;height:43px;line-height:30px;padding-left:0px;background:#15189b}
      div.bodybox div.bodyhead{padding:40px 10px 20px 10px;}
      div.bodybox .componentheading{margin:-10px -2px 0px -2px;height:37px;line-height:30px;padding-left:25px;}
      #usermod div.moduletable{background:# 000000}
      td.middle div.moduletable,td.middle div.moduletable-hilite1,td.middle div.moduletable-hilite2,td.middle div.moduletable-hilite3,td.middle div.moduletable-hilite4{margin-bottom:0;}
      /* @end *//* @group menus *//* See splitmenu.css or suckerfish.css *//* @end *//* @group content *//* @end *//* @group lists */ul{list-style:none;padding:0;list-style:none;padding-left:4px;}
      ul li{margin:15px 0;padding-left:25px;/* background:see style css */}
      div.moduletable ul li{margin:0px 0;padding-left:25px;}
      ul.arrow{}
      ul.arrow li{/* background:see style css */}
      /* @end *//* @group alert styles */span.notice{/*background:see style css*/ display:block;padding:10px 10px 10px 45px;margin-bottom:10px;}
      span.question{/*background:see style css*/ display:block;padding:10px 10px 10px 45px;margin-bottom:10px;}
      span.download{/*background:see style css*/ display:block;padding:10px 10px 10px 45px;margin-bottom:10px;}
      span.contact{/*background:see style css*/ display:block;padding:10px 10px 10px 45px;margin-bottom:10px;}
      span.tip{/*background:see style css*/ display:block;padding:10px 10px 10px 45px;margin-bottom:10px;}
      /* @end *//* @group quote */span.quote{display:block;font-style:italic;}
      div.author{text-align:right;font-weight:bold;}
      /* @end *//* @group blockquote */blockquote{/* background:see style css */ padding:10px;padding-left:50px;margin:10px 0;}
      /* @end *//* @group code */pre{/* background:see style css */ padding:10px;font-size:95%;}
      /* @end *//* @group tabber */.tabberlive .tabbertabhide{display:none;}
      .tabber{}
      .tabberlive{margin:0px;}
      ul.tabbernav{margin:0;padding:0;height:29px;line-height:30px;overflow:hidden;padding-left:25px;}
      ul.tabbernav li{display:block;float:left;margin:0;padding:0;background:none;}
      ul.tabbernav li a{float:left;display:block;height:29px;padding:0 14px;border-bottom:none;background:none;line-height:31px;text-decoration:none;border:0;}
      ul.tabbernav li.tabberactive a,ul.tabbernav li.tabberactive a:hover{padding:0 13px;}
      ul.tabbernav li a:link,ul.tabbernav li a:visited{text-decoration:none;font-weight:none;}
      ul.tabbernav li a:hover{background:none;}
      li.tabberactive{background-image:none;margin:0;padding:0;}
      li.tabberinactive{background-image:none;margin:0;padding:0;}
      .tabberlive .tabbertab{border:0;padding:10px;/* If you don't want the tab size changing whenever a tab is changed you can set a fixed height *//* height:100px;*//* If you set a fix height set overflow to auto and you will get a scrollbar when necessary *//* overflow:auto;*/}
      .tabberlive .tabbertab h2{display:none;}
      .tabberlive .tabbertab h3{display:none;}
      .tabberlive#tab1{}
      .tabberlive#tab2{}
      .tabberlive#tab2 .tabbertab{overflow:auto;/*height:200px;*/}
      /* --- Slides --- */.jw_slidetitle{cursor:pointer;margin:0px;overflow:hidden;}
      .jw_st_left{margin-right :10px;background:none;}
      .jw_st_cont{background:none;background-position:0px 3px;padding:6px 2px 8px 20px !important;margin-left:8px;}
      /* Parent box of slide down content */.jw_slide{border:none;width:100%;visibility:hidden;height:0px;overflow:hidden;position:relative;}
      /* Content that slides down */.jw_slidecontent{padding:10px;margin:0px;position:relative;}
      /* @end *//* @group login form */#top-mod div.moduletable h3{float:left;margin:0;padding:0;line-height:40px;height:40px;}
      #top-mod form{float:left;padding-left:30px;height:22px;margin-top:8px;}
      #top-mod div.loginelement{float:left;margin-left:20px;height:22px;line-height:22px}
      #top-mod div.loginelement input{width:100px;padding-left:5px;}
      span.loginsubmit,span.logoutsubmit,span.glossbutton{display:block;margin-left:10px;float:left;cursor:pointer;}
      span.loginsubmit span,span.logoutsubmit span,span.glossbutton span{display:block;float:left;height:22px;line-height:22px;padding:0 15px;}
      /* @end *//* @group content area */.movie-showcase{margin:-10px;height:150px;overflow:hidden;}
      .movie-showcase img{float:left;vertical-align:top;margin-right:10px;}
      .movie-showcase .movie-summary{padding:10px 10px 0 0;}
      .right_image{float:right;margin-left:10px;}
      img.content_button{/* background:see style css */ width:162px;height:52px;clear:right;margin-top:45px;margin-right:30px;margin-bottom:45px;margin-left:20px;border:0;}
      /* @end *//* @group styles */img.album.left{margin-right:5px;}
      img.alubm.right{margin-right:5px;}
      div.style{float:left;margin-left:50px;width:280px;text-align:center;margin-top:20px;}
      /* @end *//*#rocket{border:0;width:100%;height:58px;}
      */.vert_spacing{margin:15px 0;}
      .hide{display:none;}
      form{border:0;margin:0;padding:0;}
      table.blog span.article_seperator{display:block;height:20px;}
      table.pollstableborder td{text-align:center;padding:2px 0;}
      input#mod_search_searchword{width:120px;}
      a:link.nounder,a:visited.nounder,a:hover.nounder{text-decoration:none;}
      /* @end *//* @end *//* @group Joomla Core *//* @group content */.contentheading{padding:10px 0;margin-top:10px;margin-bottom:10px;line-height:100%;}
      td.buttonheading{vertical-align:middle;}
      td.buttonheading img{margin-right:0px;}
      table.contentpaneopen,table.contentpane{border-collapse:collapse;padding:0;margin:0;width:100%;}
      div.contentpane,div.contentpaneopen{width:100%;}
      .clr{clear:both;}
      div.mosimage{margin:5px;}
      a.readon{display:block;float:left;padding-left:20px;padding-top:2px;margin-top:10px;line-height:14px;height:16px;/* background:see style css */}
      .modifydate{height:20px;vertical-align:bottom;}
      .createdate{height:20px;vertical-align:top;vertical-align:top;padding-bottom:5px;padding-top:0px;}
      table.contenttoc{margin:5px;padding:5px;}
      table.contenttoc td{padding:0 5px;}
      /* @end *//* @group pathway */span.pathway{display:block;height:16px;line-height:16px;vertical-align:middle;margin-top:5px;margin-bottom:10px;padding-left:10px;font-weight:bold;}
      span.pathway a{}
      span.pathway img{border:0;width:10px;margin:0 7px 0 9px;}
      div#pathway{margin-bottom:10px;padding-left:8px;}
      /* @end *//* @group sections *//* @end *//* @group mainmenu */a.mainlevel:link,a.mainlevel:visited{display:block;padding:6px 0 4px 20px;margin-bottom:2px;text-decoration:none;}
      a.sublevel:link,a.sublevel:visited{text-decoration:none;}
      a.sublevel:hover{text-decoration:none;}
      /* @end *//* @group modules *//* @end *//* @group misc */table.adminform textarea{width:auto;color:#666;}
      .sectiontableheader{background:#f0f0f0;border-bottom:1px solid #ddd;font-weight:bold;padding:4px;}
      .sectiontableentry1,.sectiontableentry2{padding:4px;border-bottom:1px solid #f0f0f0;}
      .sectiontableentry2{background:#f6f6f6;}
      .pollstableborder .sectiontableentry1,.pollstableborder .sectiontableentry2{border:0;background:none;}
      div.code{font-family:Andale Mono,monospace;font-size:11px;background:#000000;color:#000;padding:20px;}
      /* @end *//* @end *//* My Comment */
      td.left{background:#e4e4e4;width:140px;}
      td.right{background:#e4e4e4;width:140px;}
      td.middle{background:#fff;width:100%;}
      td.modbg{background:#e4e4e4;width:100%;border-left:1px solid #fff;border-right:1px solid #fff;}
       
    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    Re: Index php is messy

    Posted 16 years 7 months ago
    • Thanks Andy,
      I did it with pspad, and it is organized now.

      Thank you all guys for your help!

Time to create page: 0.093 seconds