質問編集履歴

1

header.phpとindex.php詳細

2019/01/23 07:38

投稿

maru_mkp
maru_mkp

スコア15

test CHANGED
File without changes
test CHANGED
@@ -75,3 +75,59 @@
75
75
  不足しております情報などあるかと思いますが
76
76
 
77
77
  なにかご教授いただけると幸いです。よろしくお願いします。
78
+
79
+
80
+
81
+
82
+
83
+ ========
84
+
85
+ 追記になります。よろしくお願いいたします。
86
+
87
+ ```php
88
+
89
+ header.php
90
+
91
+ ==========
92
+
93
+ <?
94
+
95
+ $homeUrl ="/_test/";
96
+
97
+ ?>
98
+
99
+
100
+
101
+ <header id="GlobalNavi">
102
+
103
+ <div class="wrp-container">
104
+
105
+ <div class="siteTitle">
106
+
107
+ <h1>
108
+
109
+ <a href="<?php echo $homeUrl; ?>"><img src="images/hoge.png"></a>
110
+
111
+ </h1>
112
+
113
+ </div>
114
+
115
+ </div>
116
+
117
+ </header>
118
+
119
+ ```
120
+
121
+
122
+
123
+ ```php
124
+
125
+ 各index.php
126
+
127
+ ==========
128
+
129
+ <?php include ( 'shared/asset/header.php'); ?>
130
+
131
+
132
+
133
+ ```