wordpressの記事にPHPを埋め込む方法




wordpressの記事にPHPを置く方法です。
結果を記事内に出すには、今いるURLを指定して、1ファイル完結式でプログラムを書けばいけました。

1)Exec-PHPをダウンロードする

2)解凍すると「exec-php」というフォルダが出て来るので、それをwordpress>wp-content>pluginsにフォルダごと入れる

3)管理画面のプラグインからExec-PHPを有効化する

4)ユーザー>プロフィールの一番下にあるExec-PHP Settingsにチェックを入れる(更新するのを忘れずに)

これで記事内にPHPを置く事が出来ます。

★心理テスト問題★


あなたが夜空を見上げているとサンタクロースがソリに乗って横切って行きました。
その時に何かキラキラと光るものを落とし、あなたはそれを探しに行きます。

 光るものの大きさはどの位でしたか?

目を上げると「人に見られてはいけない」と言われているトナカイがいて
あなたと目が合ってしまいました。

 トナカイはどうしますか?

ふと振り返ると そこにはサンタクロースがいました。
サンタクロースはゆっくりと帽子とヒゲを外しました。
すると、サンタクロースは実はあなたの知っている人でした。

 サンタクロースは誰でしたか?



【Thunderbird】タイトルの色を分かりやすくつける

※この記事を書いた時点でのバージョンは3.1です。(Mac OX 10.6.7)

Thunderbirdはフリーとは思えないほど優れたメーラーですが、タイトルに色(タグ)をつけても、文字に色がつくだけでちょっと見にくいのが難点でした。
そこで、発見した「色を文字ではなく背景につけて見やすくする方法」を書きたいと思います。

1)まず、以下でStylishというアドオンをダウンロードします。
https://addons.mozilla.org/ja/thunderbird/addon/stylish/

2)これはダウンロードしただけでは使えないので、アドオンからThunderbirdにインストールします。
ツール>アドオン(左下)インストール>1でダウンロードしたファイルを指定

3)アドオンのStylishから設定する
アドオンにStylishが入りますので「設定」のボタンをクリックします。

4)(右下)「新しいスタイルを書く」をクリック

5)名前にuserContent.cssと記入。タグは空欄で構わないです。大きなテキストボックスに以下の内容をコピペして保存して下さい。
/*ここから*/
/*
* TwisterMc’s Labels (1,2) – Full set by The-Daily-Poll (Rassi) (3)
* (1) http://www.twistermc.com/blog/2007/04/10/thunderbird-labels
* (2) http://www.twistermc.com/blog/2007/05/02/custom-thunderbird-labels
* (3) http://the-daily-poll.com/wp-content/uploads/2007/05/complete_twistedmc_labels.txt
*/

treechildren::-moz-tree-cell(lc-FFFFFF) { border-bottom:1px solid #FFFFFF !important; background-color: #FFFFFF !important;}
treechildren::-moz-tree-cell-text(lc-FFFFFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFFFFF, selected) { background-color: #FFFFFF !important; }
treechildren::-moz-tree-cell-text(lc-FFFFFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFCCCC) { border-bottom:1px solid #FFCCCC !important; background-color: #FFE6E6 !important;}
treechildren::-moz-tree-cell-text(lc-FFCCCC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFCCCC, selected) { background-color: #FFCCCC !important; }
treechildren::-moz-tree-cell-text(lc-FFCCCC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFCC99) { border-bottom:1px solid #FFCC99 !important; background-color: #FFE6CC !important;}
treechildren::-moz-tree-cell-text(lc-FFCC99) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFCC99, selected) { background-color: #FFCC99 !important; }
treechildren::-moz-tree-cell-text(lc-FFCC99, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFFF99) { border-bottom:1px solid #FFFF99 !important; background-color: #99FF99 !important;}
treechildren::-moz-tree-cell-text(lc-FFFF99) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFFF99, selected) { background-color: #FFFF99 !important; }
treechildren::-moz-tree-cell-text(lc-FFFF99, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFFFCC) { border-bottom:1px solid #FFFFCC !important; background-color: #FFFFE6 !important;}
treechildren::-moz-tree-cell-text(lc-FFFFCC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFFFCC, selected) { background-color: #FFFFCC !important; }
treechildren::-moz-tree-cell-text(lc-FFFFCC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-99FF99) { border-bottom:1px solid #99FF99 !important; background-color: #CCFFCC !important;}
treechildren::-moz-tree-cell-text(lc-99FF99) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-99FF99, selected) { background-color: #99FF99 !important; }
treechildren::-moz-tree-cell-text(lc-99FF99, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-99FFFF) { border-bottom:1px solid #99FFFF !important; background-color: #CCFFFF !important;}
treechildren::-moz-tree-cell-text(lc-99FFFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-99FFFF, selected) { background-color: #99FFFF !important; }
treechildren::-moz-tree-cell-text(lc-99FFFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CCFFFF) { border-bottom:1px solid #CCFFFF !important; background-color: #FFCC99 !important;}
treechildren::-moz-tree-cell-text(lc-CCFFFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CCFFFF, selected) { background-color: #CCFFFF !important; }
treechildren::-moz-tree-cell-text(lc-CCFFFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF9900) { border-bottom:1px solid #FF9900 !important; background-color: #E6FFFF !important;}
treechildren::-moz-tree-cell-text(lc-FF9900) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF9900, selected) { background-color: #FF9900 !important; }
treechildren::-moz-tree-cell-text(lc-FF9900, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CCCCFF) { border-bottom:1px solid #CCCCFF !important; background-color: #E6E6FF !important;}
treechildren::-moz-tree-cell-text(lc-CCCCFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CCCCFF, selected) { background-color: #CCCCFF !important; }
treechildren::-moz-tree-cell-text(lc-CCCCFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFCCFF) { border-bottom:1px solid #FFCCFF !important; background-color: #FFE6FF !important;}
treechildren::-moz-tree-cell-text(lc-FFCCFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFCCFF, selected) { background-color: #FFCCFF !important; }
treechildren::-moz-tree-cell-text(lc-FFCCFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CCCCCC) { border-bottom:1px solid #CCCCCC !important; background-color: #E6E6E6 !important;}
treechildren::-moz-tree-cell-text(lc-CCCCCC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CCCCCC, selected) { background-color: #CCCCCC !important; }
treechildren::-moz-tree-cell-text(lc-CCCCCC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF6666) { border-bottom:1px solid #FF6666 !important; background-color: #FFB3B3 !important;}
treechildren::-moz-tree-cell-text(lc-FF6666) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF6666, selected) { background-color: #FF6666 !important; }
treechildren::-moz-tree-cell-text(lc-FF6666, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF9966) { border-bottom:1px solid #FF9966 !important; background-color: #FFCCB3 !important;}
treechildren::-moz-tree-cell-text(lc-FF9966) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF9966, selected) { background-color: #FF9966 !important; }
treechildren::-moz-tree-cell-text(lc-FF9966, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFFF66) { border-bottom:1px solid #FFFF66 !important; background-color: #FFFFB3 !important;}
treechildren::-moz-tree-cell-text(lc-FFFF66) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFFF66, selected) { background-color: #FFFF66 !important; }
treechildren::-moz-tree-cell-text(lc-FFFF66, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFFF33) { border-bottom:1px solid #FFFF33 !important; background-color: #FFFF99 !important;}
treechildren::-moz-tree-cell-text(lc-FFFF33) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFFF33, selected) { background-color: #FFFF33 !important; }
treechildren::-moz-tree-cell-text(lc-FFFF33, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-66FF99) { border-bottom:1px solid #66FF99 !important; background-color: #B3FFCC !important;}
treechildren::-moz-tree-cell-text(lc-66FF99) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-66FF99, selected) { background-color: #66FF99 !important; }
treechildren::-moz-tree-cell-text(lc-66FF99, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-33FFFF) { border-bottom:1px solid #33FFFF !important; background-color: #99FFFF !important;}
treechildren::-moz-tree-cell-text(lc-33FFFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-33FFFF, selected) { background-color: #33FFFF !important; }
treechildren::-moz-tree-cell-text(lc-33FFFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-66FFFF) { border-bottom:1px solid #66FFFF !important; background-color: #B3FFFF !important;}
treechildren::-moz-tree-cell-text(lc-66FFFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-66FFFF, selected) { background-color: #66FFFF !important; }
treechildren::-moz-tree-cell-text(lc-66FFFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-9999FF) { border-bottom:1px solid #9999FF !important; background-color: #CCCCFF !important;}
treechildren::-moz-tree-cell-text(lc-9999FF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-9999FF, selected) { background-color: #9999FF !important; }
treechildren::-moz-tree-cell-text(lc-9999FF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF99FF) { border-bottom:1px solid #FF99FF !important; background-color: #FFCCFF !important;}
treechildren::-moz-tree-cell-text(lc-FF99FF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF99FF, selected) { background-color: #FF99FF !important; }
treechildren::-moz-tree-cell-text(lc-FF99FF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-C0C0C0) { border-bottom:1px solid #C0C0C0 !important; background-color: #E0E0E0 !important;}
treechildren::-moz-tree-cell-text(lc-C0C0C0) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-C0C0C0, selected) { background-color: #C0C0C0 !important; }
treechildren::-moz-tree-cell-text(lc-C0C0C0, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF0000) { border-bottom:1px solid #FF0000 !important; background-color: #FF8080 !important;}
treechildren::-moz-tree-cell-text(lc-FF0000) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF0000, selected) { background-color: #FF0000 !important; }
treechildren::-moz-tree-cell-text(lc-FF0000, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF9900) { border-bottom:1px solid #FF9900 !important; background-color: #FFCC80 !important;}
treechildren::-moz-tree-cell-text(lc-FF9900) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF9900, selected) { background-color: #FF9900 !important; }
treechildren::-moz-tree-cell-text(lc-FF9900, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFCC66) { border-bottom:1px solid #FFCC66 !important; background-color: #FFE6B3 !important;}
treechildren::-moz-tree-cell-text(lc-FFCC66) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFCC66, selected) { background-color: #FFCC66 !important; }
treechildren::-moz-tree-cell-text(lc-FFCC66, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFFF00) { border-bottom:1px solid #FFFF00 !important; background-color: #FFFF80 !important;}
treechildren::-moz-tree-cell-text(lc-FFFF00) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFFF00, selected) { background-color: #FFFF00 !important; }
treechildren::-moz-tree-cell-text(lc-FFFF00, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-33FF33) { border-bottom:1px solid #33FF33 !important; background-color: #99FF99 !important;}
treechildren::-moz-tree-cell-text(lc-33FF33) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-33FF33, selected) { background-color: #33FF33 !important; }
treechildren::-moz-tree-cell-text(lc-33FF33, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-66CCCC) { border-bottom:1px solid #66CCCC !important; background-color: #B3E6E6 !important;}
treechildren::-moz-tree-cell-text(lc-66CCCC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-66CCCC, selected) { background-color: #66CCCC !important; }
treechildren::-moz-tree-cell-text(lc-66CCCC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-33CCFF) { border-bottom:1px solid #33CCFF !important; background-color: #99E6FF !important;}
treechildren::-moz-tree-cell-text(lc-33CCFF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-33CCFF, selected) { background-color: #33CCFF !important; }
treechildren::-moz-tree-cell-text(lc-33CCFF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-6666CC) { border-bottom:1px solid #6666CC !important; background-color: #B3B3E6 !important;}
treechildren::-moz-tree-cell-text(lc-6666CC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-6666CC, selected) { background-color: #6666CC !important; }
treechildren::-moz-tree-cell-text(lc-6666CC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CC66CC) { border-bottom:1px solid #CC66CC !important; background-color: #E6B3E6 !important;}
treechildren::-moz-tree-cell-text(lc-CC66CC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CC66CC, selected) { background-color: #CC66CC !important; }
treechildren::-moz-tree-cell-text(lc-CC66CC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-999999) { border-bottom:1px solid #999999 !important; background-color: #CCCCCC !important;}
treechildren::-moz-tree-cell-text(lc-999999) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-999999, selected) { background-color: #999999 !important; }
treechildren::-moz-tree-cell-text(lc-999999, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CC0000) { border-bottom:1px solid #999999 !important; background-color: #E68080 !important;}
treechildren::-moz-tree-cell-text(lc-CC0000) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CC0000, selected) { background-color: #CC0000 !important; }
treechildren::-moz-tree-cell-text(lc-CC0000, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FF6600) { border-bottom:1px solid #CC0000 !important; background-color: #FFB380 !important;}
treechildren::-moz-tree-cell-text(lc-FF6600) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FF6600, selected) { background-color: #FF6600 !important; }
treechildren::-moz-tree-cell-text(lc-FF6600, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFCC33) { border-bottom:1px solid #FFCC33 !important; background-color: #FFE699 !important;}
treechildren::-moz-tree-cell-text(lc-FFCC33) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFCC33, selected) { background-color: #FFCC33 !important; }
treechildren::-moz-tree-cell-text(lc-FFCC33, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-FFCC00) { border-bottom:1px solid #FFCC00 !important; background-color: #FFE680 !important;}
treechildren::-moz-tree-cell-text(lc-FFCC00) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-FFCC00, selected) { background-color: #FFCC00 !important; }
treechildren::-moz-tree-cell-text(lc-FFCC00, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-33CC00) { border-bottom:1px solid #33CC00 !important; background-color: #99E680 !important;}
treechildren::-moz-tree-cell-text(lc-33CC00) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-33CC00, selected) { background-color: #33CC00 !important; }
treechildren::-moz-tree-cell-text(lc-33CC00, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-00CCCC) { border-bottom:1px solid #00CCCC !important; background-color: #80E6E6 !important;}
treechildren::-moz-tree-cell-text(lc-00CCCC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-00CCCC, selected) { background-color: #00CCCC !important; }
treechildren::-moz-tree-cell-text(lc-00CCCC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-3366FF) { border-bottom:1px solid #3366FF !important; background-color: #99B3FF !important;}
treechildren::-moz-tree-cell-text(lc-3366FF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-3366FF, selected) { background-color: #3366FF !important; }
treechildren::-moz-tree-cell-text(lc-3366FF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-6633FF) { border-bottom:1px solid #6633FF !important; background-color: #B399FF !important;}
treechildren::-moz-tree-cell-text(lc-6633FF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-6633FF, selected) { background-color: #6633FF !important; }
treechildren::-moz-tree-cell-text(lc-6633FF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-B399FF) { border-bottom:1px solid #B399FF !important; background-color: #E699E6 !important;}
treechildren::-moz-tree-cell-text(lc-B399FF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-B399FF, selected) { background-color: #B399FF !important; }
treechildren::-moz-tree-cell-text(lc-B399FF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-666666) { border-bottom:1px solid #666666 !important; background-color: #B3B3B3 !important;}
treechildren::-moz-tree-cell-text(lc-666666) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-666666, selected) { background-color: #666666 !important; }
treechildren::-moz-tree-cell-text(lc-666666, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-990000) { border-bottom:1px solid #990000 !important; background-color: #CC8080 !important;}
treechildren::-moz-tree-cell-text(lc-990000) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-990000, selected) { background-color: #990000 !important; }
treechildren::-moz-tree-cell-text(lc-990000, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CC6600) { border-bottom:1px solid #CC6600 !important; background-color: #E6B380 !important;}
treechildren::-moz-tree-cell-text(lc-CC6600) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CC6600, selected) { background-color: #CC6600 !important; }
treechildren::-moz-tree-cell-text(lc-CC6600, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-CC9933) { border-bottom:1px solid #CC9933 !important; background-color: #E6CC99 !important;}
treechildren::-moz-tree-cell-text(lc-CC9933) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-CC9933, selected) { background-color: #CC9933 !important; }
treechildren::-moz-tree-cell-text(lc-CC9933, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-999900) { border-bottom:1px solid #999900 !important; background-color: #CCCC80 !important;}
treechildren::-moz-tree-cell-text(lc-999900) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-999900, selected) { background-color: #999900 !important; }
treechildren::-moz-tree-cell-text(lc-999900, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-009900) { border-bottom:1px solid #009900 !important; background-color: #80CC80 !important;}
treechildren::-moz-tree-cell-text(lc-009900) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-009900, selected) { background-color: #009900 !important; }
treechildren::-moz-tree-cell-text(lc-009900, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-339999) { border-bottom:1px solid #339999 !important; background-color: #99CCCC !important;}
treechildren::-moz-tree-cell-text(lc-339999) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-339999, selected) { background-color: #339999 !important; }
treechildren::-moz-tree-cell-text(lc-339999, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-3333FF) { border-bottom:1px solid #3333FF !important; background-color: #99CCCC !important;}
treechildren::-moz-tree-cell-text(lc-3333FF) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-3333FF, selected) { background-color: #3333FF !important; }
treechildren::-moz-tree-cell-text(lc-3333FF, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-6600CC) { border-bottom:1px solid #6600CC !important; background-color: #99CCCC !important;}
treechildren::-moz-tree-cell-text(lc-6600CC) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-6600CC, selected) { background-color: #6600CC !important; }
treechildren::-moz-tree-cell-text(lc-6600CC, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-993399) { border-bottom:1px solid #993399 !important; background-color: #CC99CC !important;}
treechildren::-moz-tree-cell-text(lc-993399) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-993399, selected) { background-color: #993399 !important; }
treechildren::-moz-tree-cell-text(lc-993399, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-333333) { border-bottom:1px solid #333333 !important; background-color: #999999 !important;}
treechildren::-moz-tree-cell-text(lc-333333) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-333333, selected) { background-color: #333333 !important; }
treechildren::-moz-tree-cell-text(lc-333333, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-660000) { border-bottom:1px solid #660000 !important; background-color: #B38080 !important;}
treechildren::-moz-tree-cell-text(lc-660000) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-660000, selected) { background-color: #660000 !important; }
treechildren::-moz-tree-cell-text(lc-660000, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-993300) { border-bottom:1px solid #993300 !important; background-color: #CC9980 !important;}
treechildren::-moz-tree-cell-text(lc-993300) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-993300, selected) { background-color: #993300 !important; }
treechildren::-moz-tree-cell-text(lc-993300, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-996633) { border-bottom:1px solid #996633 !important; background-color: #CC9980 !important;}
treechildren::-moz-tree-cell-text(lc-996633) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-996633, selected) { background-color: #996633 !important; }
treechildren::-moz-tree-cell-text(lc-996633, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-666600) { border-bottom:1px solid #666600 !important; background-color: #CCB399 !important;}
treechildren::-moz-tree-cell-text(lc-666600) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-666600, selected) { background-color: #666600 !important; }
treechildren::-moz-tree-cell-text(lc-666600, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-006600) { border-bottom:1px solid #006600 !important; background-color: #80B380 !important;}
treechildren::-moz-tree-cell-text(lc-006600) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-006600, selected) { background-color: #006600 !important; }
treechildren::-moz-tree-cell-text(lc-006600, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-336666) { border-bottom:1px solid #336666 !important; background-color: #99B3B3 !important;}
treechildren::-moz-tree-cell-text(lc-336666) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-336666, selected) { background-color: #336666 !important; }
treechildren::-moz-tree-cell-text(lc-336666, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-000099) { border-bottom:1px solid #000099 !important; background-color: #8080CC !important;}
treechildren::-moz-tree-cell-text(lc-000099) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-000099, selected) { background-color: #000099 !important; }
treechildren::-moz-tree-cell-text(lc-000099, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-333399) { border-bottom:1px solid #333399 !important; background-color: #9999CC !important;}
treechildren::-moz-tree-cell-text(lc-333399) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-333399, selected) { background-color: #333399 !important; }
treechildren::-moz-tree-cell-text(lc-333399, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-663366) { border-bottom:1px solid #663366 !important; background-color: #B399B3 !important;}
treechildren::-moz-tree-cell-text(lc-663366) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-663366, selected) { background-color: #663366 !important; }
treechildren::-moz-tree-cell-text(lc-663366, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-000000) { border-bottom:1px solid #000000 !important; background-color: #808080 !important;}
treechildren::-moz-tree-cell-text(lc-000000) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-000000, selected) { background-color: #000000 !important; }
treechildren::-moz-tree-cell-text(lc-000000, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-330000) { border-bottom:1px solid #330000 !important; background-color: #998080 !important;}
treechildren::-moz-tree-cell-text(lc-330000) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-330000, selected) { background-color: #330000 !important; }
treechildren::-moz-tree-cell-text(lc-330000, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-663300) { border-bottom:1px solid #663300 !important; background-color: #B39980 !important;}
treechildren::-moz-tree-cell-text(lc-663300) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-663300, selected) { background-color: #663300 !important; }
treechildren::-moz-tree-cell-text(lc-663300, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-663333) { border-bottom:1px solid #663333 !important; background-color: #B39999 !important;}
treechildren::-moz-tree-cell-text(lc-663333) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-663333, selected) { background-color: #663333 !important; }
treechildren::-moz-tree-cell-text(lc-663333, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-333300) { border-bottom:1px solid #333300 !important; background-color: #999980 !important;}
treechildren::-moz-tree-cell-text(lc-333300) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-333300, selected) { background-color: #333300 !important; }
treechildren::-moz-tree-cell-text(lc-333300, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-003300) { border-bottom:1px solid #003300 !important; background-color: #809980 !important;}
treechildren::-moz-tree-cell-text(lc-003300) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-003300, selected) { background-color: #003300 !important; }
treechildren::-moz-tree-cell-text(lc-003300, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-003333) { border-bottom:1px solid #003333 !important; background-color: #809999 !important;}
treechildren::-moz-tree-cell-text(lc-003333) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-003333, selected) { background-color: #003333 !important; }
treechildren::-moz-tree-cell-text(lc-003333, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-000066) { border-bottom:1px solid #000066 !important; background-color: #8080B3 !important;}
treechildren::-moz-tree-cell-text(lc-000066) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-000066, selected) { background-color: #000066 !important; }
treechildren::-moz-tree-cell-text(lc-000066, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-330099) { border-bottom:1px solid #330099 !important; background-color: #9980CC !important;}
treechildren::-moz-tree-cell-text(lc-330099) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-330099, selected) { background-color: #330099 !important; }
treechildren::-moz-tree-cell-text(lc-330099, selected) { color: #FFF !important; }

treechildren::-moz-tree-cell(lc-330033) { border-bottom:1px solid #330033 !important; background-color: #998099 !important;}
treechildren::-moz-tree-cell-text(lc-330033) { color: #000 !important; }
treechildren::-moz-tree-cell(lc-330033, selected) { background-color: #330033 !important; }
treechildren::-moz-tree-cell-text(lc-330033, selected) { color: #FFF !important; }
/*ここまで*/

そうしてThunderbirdを立ち上げ直すと以下のようになります!!

Thunderbirdのタグカラーを見やすくする

Thunderbirdのタグカラーを見やすく変える方法です。


【バナー】家庭教師のいろは様



【ご依頼者】家庭教師のいろは様
【ご依頼内容】
家庭教師のいろはの運営しているスタッフブログのバナーと質問掲示板のバナーをつくっていただけたら幸いです。
バナーの文字は
「家庭教師のいろは スタッフブログ」
「家庭教師のいろは 何でも質問掲示板」
でお願いします。
元気のよさがでるようなデザインでお願いします。色はお任せします。
サイトの左のメニューの下の方にバナーを設置したいのでその雰囲気も考えていただけたらと思います。
サイズはともに180×70でお願いします。


ドメイン .cat 日本で販売開始

本来は「猫」の意味ではなく、登録要件は「カタルーニャ(スペイン北東部。中心都市はバルセロナ。)の文化や言語をプロモートしてくれる方なら誰でも(言語問わず)。」という事で、カルターニャの頭文字のcatなんですけどね。sweat01.gif

前々から猫に特化した検索サイトをやりたいなと思ってたので、これを機にドメインを抑えました。
いつになったら作れるか全くもって未定ですがcoldsweats01.gif

▼Gonbei Domain/.catドメイン取得ページ
http://www.gonbei.jp/reg/cat.html


あなたのドメインの今の価値は?

ドメインの価値を算出するサイトがあります。
▼BIZ
http://bizinformation.org/jp/
ななななななんと。
個人のブログを書いているtomato.gr.jpは¥1,658,851.64だって!!!happy01.gif
いや~、あんなにコメントつかないブログなのに(爆笑)
でも、アクセス数だけはすごい事になってるんだよね~、確かに。up2.gif

1,658,850円にまけとくから誰か買ってww


WordPressでコメントアウト出来ない

WordPressのフォーラムに回答がございました。
http://ja.forums.wordpress.org/topic/1593?replies=3
簡単に言うと、コメントアウトしようと思った部分にhtmlのタグがあるとコメントアウト出来ないっちゅー事らしいです。
これ、なんだかとっても不便ですね。
・・って事はPHPのコメントアウト使えばコメントアウト出来るのかな?

# ちょっとテスト

// さらにテスト

/* もっとテスト */

できないじゃん(爆)


↑正しくコメントアウトされてますが、ここには
<!– 従来のコメントアウト –> と書いてあります。

そして、htmlタグが入った場合。
<!– <span class=”red”>赤い文字</span> –>
・・と記述すると

XHTML: 利用可能なタグ: <a href=”" title=”"> <abbr title=”"> <acronym title=”"> <b> <blockquote cite=”"> <cite> <code> <del datetime=”"> <em> <i> <q cite=”"> <strike> <strong> <img localsrc=”" alt=”">
–>

こんな事になる。

うーむ。

おっっっ!!!!!!
htmlタグを回避してコメントアウトするといける!!!
<span class=”red”><!– 赤い文字 –></span>
これだとコメントアウトされるようです。
↓ほらw

けど、これだと複雑なhtmlで(例えばテーブルとか)だとダメだね。。(´・ω・‘)ショボーン


WordPressにhtmlやphpのタグを表示させる場合

ごく初歩的な事ではありますが。
WordpressはPHPで書かれているので、記事にhtmlやphpのタグをそのまま書いてしまうと、その部分はタグとして認識されて、文字としての表示はされなくなってしまいます。
よって、<とか>は「&lt;」とか「&gt;」(&も半角で。これを表示させるにはどうしたらいいんだろうww)と書いてあげます。
ところで、コメントアウトしようと思っても表示されてしまうんですけど、(<–○○○–>が効かない)これってどうしたらいいんでしょー。
ちと、ググります。


WordPress.com statsがカウントしない件

私が運営しているくろねこくらぶのstatsウィジェット、Wordpress.com statsがサーバーを引っ越ししてからピッタリ止まってしまっていました。
一度削除して入れ直しても過去のデータが復活するだけで変化はなく・・・色々ググッてて原因が分かりました。
</body>の後に
<?php wp_footer(); ?>
という記述がないとダメなんだそうで。
私がくろねこくらぶで使用していたテーマはそれがなかったみたいです。
フッターの編集したら動き始めました(^-^;)
同じ事で悩む人がいるかもしれないので、ここにメモしておきます。


XserverでのEC CUBEのインストールについて

練習用にEC CUBEをインストールしようとしたけど、四苦八苦。
ネットであれこれ調べて散々手をかけ、何度もやり直し・・・・・
define.phpを書き換えたり、install.phpを書き換えたり、それでも500エラーが出まくり。凹
やっとインストールまでいけたと思ったら管理画面が真っ白。orz

その後にここを見つけました(T△T)
▼エックスサーバー マニュアル インストールについて>EC-CUBE
http://www.xserver.ne.jp/man_install_ec.php

何の事はない。
この通りにやったらスパッとインストール出来ましたがな。(^^;

エックスサーバーではEC CUBEを自動インストールしていないから、まさかサポートしてるとは思わず探しもしませんでした。
灯台下暗しとは正にこの事。
カスタムするついでに何か売れるようにしようかな~

XserverではPHPのパーミッションに666とか777を使用できません。
ここを間違えると動きませんので、上記URLの通りに一つ一つ丁寧に進めましょう。
私は先にネットであれこれファイルの中身とか書き換えてしまっていたのでかえってややこしかったので、一旦「素」の状態(ダウンロードしたそのままの状態)に戻してから作業する事をオススメします。

1 Comment more...

無料バナー制作致します

本サイトのバナー見本用に使用させて頂ける方にのみ、当面の間「無料」で作ります。
詳しくは「バナー制作(無料)」をご参照くださいませ。

※コメント欄からはご依頼頂けません。

ご依頼の前に質問がある方はバナー制作ページのコメント欄をご利用下さい。


Copyright © 1996-2010 TOMATO FACTORY. All rights reserved.
iDream theme by Templates Next | Powered by WordPress