Need code simplified

death180

Seasoned Veteran
Joined
Jul 3, 2009
Messages
4,338
Reaction score
0
FP$
1,767
I have a custom theme, and the footer needs simplifying...
Screenshot of what the code is: http://i45.tinypic.com/1zyzrt.jpg

Code:
Code:
 <script type="text/javascript">var html = '%3C/li%3E%0A%09%09%3C/ul%3E%0A%0A%09%09%3Cspan%20class%3D%22corners-bottom%22%3E%3Cspan%3E%3C/span%3E%3C/span%3E%3C/div%3E%0A%09%3C/div%3E%0A%09%0A%3C%21--%0A%09We%20request%20you%20retain%20the%20full%20copyright%20notice%20below%20including%20the%20link%20to%20www.phpbb.com.%0A%09This%20not%20only%20gives%20respect%20to%20the%20large%20amount%20of%20time%20given%20freely%20by%20the%20developers%0A%09but%20also%20helps%20build%20interest%2C%20traffic%20and%20use%20of%20phpBB3.%20If%20you%20%28honestly%29%20cannot%20retain%0A%09the%20full%20copyright%20we%20ask%20you%20at%20least%20leave%20in%20place%20the%20%22Powered%20by%20phpBB%22%20line%2C%20with%0A%09%22phpBB%22%20linked%20to%20www.phpbb.com.%20If%20you%20refuse%20to%20include%20even%20this%20then%20support%20on%20our%0A%09forums%20may%20be%20affected.%0A%0A%09The%20phpBB%20Group%20%3A%202006%0A//--%3E%0A%0A%09%3Cdiv%20class%3D%22copyright%22%3EPowered%20by%20%3Ca%20href%3D%22http%3A//www.phpbb.com/%22%3EphpBB%3C/a%3E%20%26copy%3B%202000%2C%202002%2C%202005%2C%202007%20phpBB%20Group%3Cbr%20/%3E%0A%20%20%20%20iCrazy%20Style%20knocked%20up%20by%20%3Ca%20href%3D%22http%3A//www.christianbullock.com%22%3EChristian%20Bullock%3C/a%3E%3Cbr%20/%3E%0A%20%20%20%20Promote%20your%20forum%20at%20%3Ca%20href%3D%22http%3A//www.forumpromotion.net%22%3EForum%20Promotion%3C/a%3E%20//%20More%20Styles%20at%20%3Ca%20href%3D%22http%3A//www.pixelraider.com%22%3EPixelRaider%3C/a%3E.';document.write(unescape(html));</script>

Now i am also looking to add another line underneath that. NOw can someone please simplify that so it can actually be read?

Thanks~
 
I would but there is loads and it's all transformed into javascript, if you have the files, or the proper source code just use that but I'm not doing that as I have no idea where the code starts from and finishes from. Why is it all in javascript?
 
I have no idea why its in java script.

Here is the whole thing if it helps

overall_footer.html
Code:
</div>

<div id="page-footer">

	<div class="navbar">
		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="linklist">
			<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
					<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
				<!-- ENDIF -->
			<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}
   
 <script type="text/javascript">var html = '%3C/li%3E%0A%09%09%3C/ul%3E%0A%0A%09%09%3Cspan%20class%3D%22corners-bottom%22%3E%3Cspan%3E%3C/span%3E%3C/span%3E%3C/div%3E%0A%09%3C/div%3E%0A%09%0A%3C%21--%0A%09We%20request%20you%20retain%20the%20full%20copyright%20notice%20below%20including%20the%20link%20to%20www.phpbb.com.%0A%09This%20not%20only%20gives%20respect%20to%20the%20large%20amount%20of%20time%20given%20freely%20by%20the%20developers%0A%09but%20also%20helps%20build%20interest%2C%20traffic%20and%20use%20of%20phpBB3.%20If%20you%20%28honestly%29%20cannot%20retain%0A%09the%20full%20copyright%20we%20ask%20you%20at%20least%20leave%20in%20place%20the%20%22Powered%20by%20phpBB%22%20line%2C%20with%0A%09%22phpBB%22%20linked%20to%20www.phpbb.com.%20If%20you%20refuse%20to%20include%20even%20this%20then%20support%20on%20our%0A%09forums%20may%20be%20affected.%0A%0A%09The%20phpBB%20Group%20%3A%202006%0A//--%3E%0A%0A%09%3Cdiv%20class%3D%22copyright%22%3EPowered%20by%20%3Ca%20href%3D%22http%3A//www.phpbb.com/%22%3EphpBB%3C/a%3E%20%26copy%3B%202000%2C%202002%2C%202005%2C%202007%20phpBB%20Group%3Cbr%20/%3E%0A%20%20%20%20iCrazy%20Style%20knocked%20up%20by%20%3Ca%20href%3D%22http%3A//www.christianbullock.com%22%3EChristian%20Bullock%3C/a%3E%3Cbr%20/%3E%0A%20%20%20%20Promote%20your%20forum%20at%20%3Ca%20href%3D%22http%3A//www.forumpromotion.net%22%3EForum%20Promotion%3C/a%3E%20//%20More%20Styles%20at%20%3Ca%20href%3D%22http%3A//www.pixelraider.com%22%3EPixelRaider%3C/a%3E.';document.write(unescape(html));</script>

            
		<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
		<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
		<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
	</div>
</div>

</div> <!-- /advanced-wrap -->


</div>

<div class="long-footer"></div>

<div>
	<a id="bottom" name="bottom" accesskey="z"></a>
	<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>



</body>
</html>
 
Change to:

Code:
    </div>

    <div id="page-footer">

       <div class="navbar">
          <div class="inner"><span class="corners-top"><span></span></span>

          <ul class="linklist">
             <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
                <!-- IF not S_IS_BOT -->
                   <!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
                   <!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
                   <!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
                   <!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
                <!-- ENDIF -->
             <li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}
       
    <script type="text/javascript">var html = '</li>
		</ul>

		<span class="corners-bottom"><span></span></span></div>
	</div>
	
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->

	<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group<br />
    iCrazy Style knocked up by <a href="http://www.christianbullock.com">Christian Bullock</a><br />
    Promote your forum at <a href="http://www.forumpromotion.net">Forum Promotion</a> // More Styles at <a href="http://www.pixelraider.com">PixelRaider</a>.';document.write(unescape(html));</script>
<p align="center"><a href="http://www.link.com">Description</a></p>

               
          <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
          <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
          <!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
       </div>
    </div>

    </div> <!-- /advanced-wrap -->


    </div>

    <div class="long-footer"></div>

    <div>
       <a id="bottom" name="bottom" accesskey="z"></a>
       <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
    </div>



    </body>
    </html>

Tell me how you get on with that 😉 I just added a new line:
Code:
<p align="center"><a href="http://www.link.com">Description</a></p>
 
Code:
        </div>

        <div id="page-footer">

           <div class="navbar">
              <div class="inner"><span class="corners-top"><span></span></span>

              <ul class="linklist">
                 <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
                    <!-- IF not S_IS_BOT -->
                       <!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
                       <!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
                       <!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
                       <!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
                    <!-- ENDIF -->
                 <li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}
           
        <script type="text/javascript">var html = '</li>
          </ul>

          <span class="corners-bottom"><span></span></span></div>
       </div>
       
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->

       <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group<br />
        iCrazy Style knocked up by <a href="http://www.christianbullock.com">Christian Bullock</a><br />
        Promote your forum at <a href="http://www.forumpromotion.net">Forum Promotion</a> // More Styles at <a href="http://www.pixelraider.com">PixelRaider</a>.';document.write(unescape(html));</script>
    <br /><a href="http://www.link.com">Description</a>

                   
              <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
              <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
              <!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
           </div>
        </div>

        </div> <!-- /advanced-wrap -->


        </div>

        <div class="long-footer"></div>

        <div>
           <a id="bottom" name="bottom" accesskey="z"></a>
           <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
        </div>



        </body>
        </html>

Try this 😉
 
What is it that you want to achieve? I'm confused, you never said.
 
It's in JS because it's encrypted to stop people who can't decode from removing the copyrights.

So instead of trying to get someone here to try and decode that for you (which I doubt anyone here has the knowledge to do so.. well at least who is willing to help you remove the copyright, which im not) just add your line after that code, if you keep removing the above javascript without doing the correct method, your style's (well Dylan (iCrazy)'s style) footer will keep messing up.

The above codes posted by John just made me smile, cheers for that John 🙂
 
You won't be able to unless you have the key (like in any cipher). Just add a new line and don't mess with the copyrights. 🙂
 
Oh i see now. Yes, i guess i will just add another line underneath it.

THanks for trying John!
 
Back
Top Bottom