Hi.

I am using Glade as a HTML template editor, even if Glade doesn't have
support for this.
I choosed Glade because linux doesn't have yet a good html editor (which
supports tables and forms) and
Starrofice is a monster for my P166/64 megs. Even it whould have, I
still need some specialized features referring to templates.

I use a program called "xml2html" which translates glade's xml files to
nice html template.
To achieve such effects I use some DIRTY HACKS like:
 -  a GtkHSeparator with X Fill set to "No" is considerred a block
start/stop (a block is repeated as many times as the size of the
variable embedded in it)
 -  if a cell in a GtkTable is a GtkAlignment widget, then its name is
copied into the <TD ...> tag. (for example, I use often
"bgcolor=#dddddd" as a name for an alignment and this would generate:
<TD bgcolor=#dddddd> in template..

... and so on ...

I would release this engine in the near future because it's cool and
makes web programming WAY faster.
(You don't have to write ANY html tags in your php code, It simplifies
access to SQL tables etc, etc)
But for this I need a reasonable HTML template editor.

I atach here 3 files: a glade xml source of a template (loggedin.glade),
the template itself (loggedin.html) and the output html (output.html)
saved by the browser.

Hope this is a good idea,
Calin
<?xml version="1.0"?>
<GTK-Interface>

<project>
  <name>loggedin</name>
  <program_name>loggedin</program_name>
  <directory></directory>
  <source_directory>src</source_directory>
  <pixmaps_directory>pixmaps</pixmaps_directory>
  <language>C</language>
  <gnome_support>True</gnome_support>
  <gettext_support>True</gettext_support>
  <use_widget_names>False</use_widget_names>
  <output_main_file>True</output_main_file>
  <output_support_files>True</output_support_files>
  <output_build_files>True</output_build_files>
  <backup_source_files>True</backup_source_files>
  <main_source_file>interface.c</main_source_file>
  <main_header_file>interface.h</main_header_file>
  <handler_source_file>callbacks.c</handler_source_file>
  <handler_header_file>callbacks.h</handler_header_file>
  <support_source_file>support.c</support_source_file>
  <support_header_file>support.h</support_header_file>
  <translatable_strings_file></translatable_strings_file>
</project>

<widget>
  <class>GtkWindow</class>
  <name>window1</name>
  <title>window1</title>
  <type>GTK_WINDOW_TOPLEVEL</type>
  <position>GTK_WIN_POS_NONE</position>
  <modal>False</modal>
  <allow_shrink>False</allow_shrink>
  <allow_grow>True</allow_grow>
  <auto_shrink>False</auto_shrink>
  <wmclass_name>bgcolor=#FFFFFF background=&quot;../images/backdrop.gif&quot; 
topmargin=&quot;0&quot; bottomma
rgin=&quot;0&quot; leftmargin=&quot;0&quot; rightmargin=&quot;0&quot; 
marginheight=&quot;0&quot; marginwidth=&quot;0&quot;</wmclass_name>

  <widget>
    <class>GtkFrame</class>
    <name>frame1</name>
    <label>loggedin.php</label>
    <label_xalign>0</label_xalign>
    <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>

    <widget>
      <class>GtkAlignment</class>
      <name>alignment1</name>
      <xalign>0.5</xalign>
      <yalign>0.5</yalign>
      <xscale>1</xscale>
      <yscale>1</yscale>

      <widget>
        <class>GtkTable</class>
        <name>width=&quot;80%&quot;</name>
        <rows>13</rows>
        <columns>3</columns>
        <homogeneous>False</homogeneous>
        <row_spacing>0</row_spacing>
        <column_spacing>0</column_spacing>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>1</right_attach>
            <top_attach>1</top_attach>
            <bottom_attach>2</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label2</name>
            <label>&lt;f1&gt;Surgery&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>1</left_attach>
            <right_attach>2</right_attach>
            <top_attach>1</top_attach>
            <bottom_attach>2</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>False</xfill>
            <yfill>False</yfill>
          </child>

          <widget>
            <class>GtkOptionMenu</class>
            <name>form_surgery{-form_surgery-}</name>
            <width>180</width>
            <can_focus>True</can_focus>
            <items>{form_surgeries}
{@if 
($this-&gt;data[&quot;form_surgeries&quot;][$blockcrt]==$this-&gt;data[&quot;form_surgery&quot;])
 $retval=&quot;selected&quot;; else $retval=&quot;&quot;; 
$tmp=ereg_replace(&quot;\?.*$&quot;,&quot;&quot;,$GLOBALS[&quot;HTTP_REFERER&quot;]); 
if (substr($tmp,-9)==&quot;login.php&quot;) $retval=&quot;&quot;;@}
</items>
            <initial_choice>0</initial_choice>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>0</top_attach>
            <bottom_attach>1</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>True</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label1</name>
            <label>&lt;f1&gt;&lt;blockquote&gt;&lt;p 
align=&quot;justify&quot;&gt;&lt;b&gt;You are logged in.&lt;/b&gt;
Please select the problem you have and then click &lt;b&gt;Go&lt;/b&gt; to
view the possibile appointments you can have&lt;/p&gt;&lt;/blockquote&gt;
{#&lt;f1&gt;=&lt;FONT SIZE=2&gt;&lt;FONT FACE=&quot;Geneva, Arial, 
Helvetica&quot;&gt;#}
{#&lt;/f&gt;=&lt;/FONT&gt;#}
{#&lt;sp&gt;=&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp#}
{-pat_nr-}
{@if($GLOBALS[&quot;next&quot;]) Header(&quot;Location: loggedin.php&quot;);@}</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>2</left_attach>
            <right_attach>3</right_attach>
            <top_attach>1</top_attach>
            <bottom_attach>2</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>False</xfill>
            <yfill>False</yfill>
          </child>

          <widget>
            <class>GtkButton</class>
            <name>SubmitSurg{-SubmitSurg-}</name>
            <can_focus>True</can_focus>
            <label>Go</label>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>8</top_attach>
            <bottom_attach>9</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label6</name>
            <label>&lt;f1&gt;&lt;a 
href=&quot;logout.php&quot;&gt;Logout&lt;/a&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>9</top_attach>
            <bottom_attach>10</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label7</name>
            <label>&lt;f1&gt;You have the appointment:&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>1</right_attach>
            <top_attach>11</top_attach>
            <bottom_attach>12</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label8</name>
            <width>200</width>
            
<label>&lt;f1&gt;{@$retval=ereg_replace(&quot;([0-9]{4})([0-9]{2})([0-9]{2}).*&quot;, 
&quot;\\3-\\2-\\1&quot;, 
$this-&gt;data[&quot;crt_diary_date&quot;]);@}&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>1</left_attach>
            <right_attach>2</right_attach>
            <top_attach>11</top_attach>
            <bottom_attach>12</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label9</name>
            <label>&lt;f1&gt;{crt_diary_time}&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>2</left_attach>
            <right_attach>3</right_attach>
            <top_attach>11</top_attach>
            <bottom_attach>12</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label10</name>
            <label>&lt;f1&gt;{crt_diary_cabin}&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>1</right_attach>
            <top_attach>5</top_attach>
            <bottom_attach>6</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label3</name>
            <width>200</width>
            <label>&lt;f1&gt;&lt;a 
href=&quot;select.php?diary={diary_id}&quot;&gt;{@$retval=ereg_replace(&quot;([0-9]{4})([0-9]{2})([0-9]{2}).*&quot;,
 &quot;\\3-\\2-\\1&quot;, 
$this-&gt;data[&quot;diary_date&quot;][$blockcrt]);@}&lt;/a&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>1</left_attach>
            <right_attach>2</right_attach>
            <top_attach>5</top_attach>
            <bottom_attach>6</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label4</name>
            <label>&lt;f1&gt;{diary_time}&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>2</left_attach>
            <right_attach>3</right_attach>
            <top_attach>5</top_attach>
            <bottom_attach>6</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label5</name>
            <label>&lt;f1&gt;{diary_cabin}&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkHSeparator</class>
          <name>hseparator2</name>
          <width>30</width>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>3</top_attach>
            <bottom_attach>4</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>False</xfill>
            <yfill>True</yfill>
          </child>
        </widget>

        <widget>
          <class>GtkHSeparator</class>
          <name>hseparator3</name>
          <width>30</width>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>6</top_attach>
            <bottom_attach>7</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>False</xfill>
            <yfill>True</yfill>
          </child>
        </widget>

        <widget>
          <class>GtkHSeparator</class>
          <name>hseparator4</name>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>4</top_attach>
            <bottom_attach>5</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#dddddd&quot;</name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>1</right_attach>
            <top_attach>2</top_attach>
            <bottom_attach>3</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label11</name>
            <label>&lt;f1&gt;&lt;i&gt;Date&lt;/i&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#dddddd&quot;</name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>1</left_attach>
            <right_attach>2</right_attach>
            <top_attach>2</top_attach>
            <bottom_attach>3</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label12</name>
            <label>&lt;f1&gt;&lt;i&gt;Hour&lt;/i&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#dddddd&quot;</name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>2</left_attach>
            <right_attach>3</right_attach>
            <top_attach>2</top_attach>
            <bottom_attach>3</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label13</name>
            <label>&lt;f1&gt;&lt;i&gt;Cabin&lt;/i&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#dddddd&quot;</name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>1</right_attach>
            <top_attach>10</top_attach>
            <bottom_attach>11</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label14</name>
            <label>&lt;f1&gt;&lt;i&gt;Date&lt;/i&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#dddddd&quot;</name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>1</left_attach>
            <right_attach>2</right_attach>
            <top_attach>10</top_attach>
            <bottom_attach>11</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label15</name>
            <label>&lt;f1&gt;&lt;i&gt;Hour&lt;/i&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#dddddd&quot;</name>
          <xalign>0</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>2</left_attach>
            <right_attach>3</right_attach>
            <top_attach>10</top_attach>
            <bottom_attach>11</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>False</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label16</name>
            <label>&lt;f1&gt;&lt;i&gt;Cabin&lt;/i&gt;&lt;/f&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name></name>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>12</top_attach>
            <bottom_attach>13</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label17</name>
            <label>&lt;a href=&quot;cancel.php&quot;&gt;&lt;f1&gt;Cancel current 
appointment date&lt;/f&gt;&lt;/a&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkAlignment</class>
          <name>bgcolor=&quot;#ddddff&quot;</name>
          <xalign>1</xalign>
          <yalign>0.5</yalign>
          <xscale>1</xscale>
          <yscale>1</yscale>
          <child>
            <left_attach>0</left_attach>
            <right_attach>3</right_attach>
            <top_attach>7</top_attach>
            <bottom_attach>8</bottom_attach>
            <xpad>0</xpad>
            <ypad>0</ypad>
            <xexpand>False</xexpand>
            <yexpand>True</yexpand>
            <xshrink>False</xshrink>
            <yshrink>False</yshrink>
            <xfill>True</xfill>
            <yfill>True</yfill>
          </child>

          <widget>
            <class>GtkLabel</class>
            <name>label18</name>
            <label>&lt;a 
href=loggedin.php?next=20&gt;&lt;f1&gt;&lt;i&gt;Next&lt;/i&gt;&lt;/f&gt;&lt;/a&gt;</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>
      </widget>
    </widget>
  </widget>
</widget>

</GTK-Interface>

You are logged in. Please select the problem you have and then click Go to view the possibile appointments you can have

{#=#} {#=#} {#=     #} {-pat_nr-} {@if($GLOBALS["next"]) Header("Location: loggedin.php");@}
Surgery data["form_surgeries"][$blockcrt]==$this->data["form_surgery"]) $retval="selected"; else $retval=""; $tmp=ereg_replace("\?.*$","",$GLOBALS["HTTP_REFERER"]); if (substr($tmp,-9)=="login.php") $retval="";@} value="{form_surgeries}">{form_surgeries}
Date Hour Cabin

{@$retval=ereg_replace("([0-9]{4})([0-9]{2})([0-9]{2}).*", "\\3-\\2-\\1", $this->data["diary_date"][$blockcrt]);@} {diary_time} {diary_cabin}
Next
Logout
You have the appointment:
Date Hour Cabin
{@$retval=ereg_replace("([0-9]{4})([0-9]{2})([0-9]{2}).*", "\\3-\\2-\\1", $this->data["crt_diary_date"]);@} {crt_diary_time} {crt_diary_cabin}
Cancel current appointment date

You are logged in. Please select the problem you have and then click Go to view the possibile appointments you can have

Surgery Prostie Otita Psoriazis Oreion Foame Lene Boala1 Boala2 Boala3 Boala4
Date Hour Cabin

30-09-2000 21:00 84

01-10-2000 11:00 371

01-10-2000 13:00 215

02-10-2000 01:30 29

02-10-2000 04:30 188

02-10-2000 11:30 111

02-10-2000 17:30 416

02-10-2000 21:00 71

03-10-2000 06:00 172

04-10-2000 04:00 189

04-10-2000 08:30 29

04-10-2000 09:30 297

04-10-2000 15:30 27

04-10-2000 18:30 403

07-10-2000 21:00 84

08-10-2000 11:00 371

08-10-2000 13:00 215

09-10-2000 01:30 29

09-10-2000 04:30 188

09-10-2000 11:30 111

09-10-2000 17:30 416

09-10-2000 21:00 71

10-10-2000 06:00 172

11-10-2000 04:00 189

11-10-2000 08:30 29

11-10-2000 09:30 297

11-10-2000 15:30 27

11-10-2000 18:30 403
Next
Logout
You have the appointment:
Date Hour Cabin
11-10-2000 11:00 497
Cancel current appointment date

Reply via email to