Editing anycontent.php Editing anycontent.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Editing anycontent.php

Started by hama, November 20, 2004, 11:29:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hama

I try to edit the anycontent.php because I need two columns (50 % each) with different code.

I searched the forum and did a google search with "starttable / endtable" ...


<?php
starttable
("100%""Welcome");

?>

<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable
();

?>



Please give me a little hint.  :)

Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

hama


That's the reason why I need two columns (4 radio stations at right, 4 at left):

--> http://www.dorfschule.ch/copper/index.php --> at the bottom, anycontent.php sound :-)

;)
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

hama


Aargh, nearly a whole night to find out how to build two columns .... The good thing, I learned (in my opinion) a lot ...

But now, how can I code that the blue title of the anycontent (Sound) goes from left to right?  


<?php

starttable
("100%""Sound :-)");

?>

    <tr><td class="tableb" width=50%>
    Jeder Link öffnet ein separates Gallery-Fenster, im neuen Fenster einfach auf Play drücken (eignet sich nur für TEP oder ADSL). - Viel Vergnügen!
    <ul>
    <li><a href="http://www.dorfschule.ch/copper/index1.htm" target="_blank">Radio 24</a> (64 KBit/s)</li>
    <li><a href="http://www.dorfschule.ch/copper/index2.htm" target="_blank">Radio DJ</a> (64 KBit/s)</li>
    <li><a href="http://www.dorfschule.ch/copper/index3.htm" target="_blank">Radio 105</a> (40 KBit/s)</li>
    <li><a href="http://www.dorfschule.ch/copper/index4.htm" target="_blank">Radio DRS 1</a> (40 KBit/s)</li>
    <li><a href="http://www.dorfschule.ch/copper/index5.htm" target="_blank">Radio DRS 3</a> (40 KBit/s)</li>
    <li><a href="http://www.dorfschule.ch/copper/index6.htm" target="_blank">Radio Virus</a> (40 KBit/s)</li>
    <li><a href="http://www.dorfschule.ch/copper/index7.htm" target="_blank">Radio Pilatus</a> (48 KBit/s)</li>   
    <li><a href="http://www.dorfschule.ch/copper/index8.htm" target="_blank">Radio Sunshine</a> (40 KBit/s)</li>
    </ul>
    </td>
    <td class="tableb" width="50%">
    Jeder Link öffnet ein separates Gallery-Fenster, im neuen Fenster einfach auf Play drücken (eignet sich nur für TEP oder ADSL). - Viel Vergnügen!    
    <ul>
    <li><a href="http://www.dorfschule.ch/copper/index1.htm" target="_blank">Radio 24</a> (64 KBit/s)</li>
    </ul>
    </td></tr>
<?php
endtable
();

?>


Thanks

hama
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

Nibbler

starttable("100%", "Sound :-)", 2);

last argument for starttable is number of columns to span the title over.

hama


Great, great, great!

Yeah, I can go to bed (at the moment I'm so tired about this <tr>, <td>, </td>, </tr>, ...).  ::)

Good night and have a nice weekend!

:) :D :)

solved

Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

Joachim Müller

you just found out about html's <td> command, congrats ::)

Joachim

hama


@GauGau: I know you laugh a little bit about what I found out ...  :) ... but I'm happy that I found it out.

Anyway, thanks for this great support forum. It's really for profs and beginners!

And some of you profs could be good teachers ... If you're looking for a job or a stage in nice switzerland (http://www.engelberg.ch/en/index.php) ... Call me.  8)

One other thing I found out: A website without a coppermine gallery is nothing!
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

Joachim Müller

hehe, although I'd quite like the landscape in Switzerland (and the wages), I'd rather not work as a teacher. Did so before, but found out that I wasn't meant to be a teacher - I don't have enough patience... ;)

Joachim