|
|
@@ -82,7 +82,6 @@ $userIcon = getUserIconPath();
|
|
|
<div class="ts container">
|
|
|
<div class="ts grid">
|
|
|
<div class="four wide column">
|
|
|
- <!-- 個人檔案卡 -->
|
|
|
<div class="ts teabag card">
|
|
|
<div class="image">
|
|
|
<img src="<?php echo $userIcon;?>" style="max-width:300px;">
|
|
|
@@ -99,6 +98,12 @@ $userIcon = getUserIconPath();
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <button class="ts basic mini button" onClick='$("#changeIconDiv").slideToggle();'>Change Icon</button>
|
|
|
+ <div id="changeIconDiv" style="display:none;">
|
|
|
+ <iframe src="uploadIcon.php">
|
|
|
+
|
|
|
+ </iframe>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 聊天室列表-->
|
|
|
@@ -159,7 +164,7 @@ $userIcon = getUserIconPath();
|
|
|
echo '
|
|
|
<div class="ts card">
|
|
|
<div class="content">
|
|
|
- <div class="header"><img class="ts circular image postAvator" src="' . $userIcon .'" style="margin-right:-20px;">' . $post["username"] . '</div>
|
|
|
+ <div class="header"><img class="ts image postAvator" src="' . $userIcon .'" style="margin-right:-20px;width:80px;height:80px;">' . $post["username"] . '</div>
|
|
|
<div class="meta">
|
|
|
<a>@ '.$post["posttime"].'</a>
|
|
|
</div>
|
|
|
@@ -176,6 +181,11 @@ $userIcon = getUserIconPath();
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
+<script>
|
|
|
|
|
|
+function refreshPage(){
|
|
|
+ window.location.reload();
|
|
|
+}
|
|
|
+</script>
|
|
|
</body>
|
|
|
</html>
|