File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 <div class="g_content">
5050 有什么想对我说的嘛?  <a href="<?php echo base_url ('home/message ' );?> ">给我留言</a>
5151 <?php if (isset ($ rows )) { foreach ($ rows as $ row ):?>
52- <h4><font color="#ff69b4"><br/>
53-   <?php echo $ row ['name ' ]?> <br/>
54-   <?php echo $ row ['content ' ]?> <br/>
55-   <?php echo $ row ['date ' ]?>
56- </font></h4>
52+ <h3>
53+ <font color="#ff69b4">
54+ <br />  <?php echo $ row ['name ' ]?>
55+   <?php echo $ row ['date ' ]?> <br />
56+   <?php echo $ row ['content ' ]?>
57+ </font>
58+ </h3>
5759 <?php endforeach ;}?> <br />  
5860 <font color="blue" size="4"><?php echo $ this ->pagination ->create_links ();?> </font>
5961 </div>
Original file line number Diff line number Diff line change 1717 <h1 style="margin: 0; text-align: center;"><font>你好,旅行者。 👋</font></h1>
1818
1919 <form action="<?php echo base_url ('home/message ' );?> " method="post">
20- <label><input type="text" name="name" placeholder="你的名字是?"/></label>
20+ <label><input type="text" name="name" maxlength="15" placeholder="你的名字是?" required /></label>
2121
22- <textarea class="add" type="text" name="content" placeholder="有什么想对我说的嘛?"></textarea>
22+ <textarea class="add" type="text" name="content" maxlength="255" placeholder="有什么想对我说的嘛?" required ></textarea>
2323
24- <label><input type="text" name="date" placeholder="date " value="<?php echo date ('Y-m-d H:i:s ' );?> "/></label>
24+ <label><input type="text" name="date" readonly="readonly " value="<?php echo date ('Y-m-d H:i:s ' );?> "/></label>
2525
2626 <input type="submit" name="submit" value="ヽ( =ノωヽ=)ノstart"/>
2727
You can’t perform that action at this time.
0 commit comments