Index: /branches/eccube-donation/html/frontparts/bloc/dn.css
===================================================================
--- /branches/eccube-donation/html/frontparts/bloc/dn.css	(revision 20622)
+++ /branches/eccube-donation/html/frontparts/bloc/dn.css	(revision 20622)
@@ -0,0 +1,1464 @@
+@charset "utf-8";
+
+* {
+    margin: 0;
+    padding: 0;
+}
+
+
+/* 上記による Fierfox 2 崩れ対応 */
+option {
+    margin-right: 0.5em;
+}
+
+html {
+    height: 100%;
+}
+
+body {
+    width: 100%;
+    height: 100%;
+    background: #fff;
+    font-family: "ＭＳ Ｐゴシック","Hiragino Maru Gothic Pro","ヒラギノ丸ゴ Pro W4",Osaka,sans-serif;
+    font-size: 80%;
+    line-height: 120%;
+}
+
+option {
+    margin-right: 3px;
+    font-size: 100%;
+}
+
+input, textarea {
+    margin-right: 3px;
+    font-size: 100%;
+}
+
+select {
+    font-size: 100%;
+}
+select.top,
+input.top,
+textarea.top {
+    margin-bottom: 5px;
+}
+
+.page_rows{
+    margin-bottom:20px;
+}
+
+img {
+    border: 0;
+}
+
+ul, li {
+    list-style: none;
+}
+
+hr {
+    display: none;
+}
+
+h1 {
+    border-top: 1px solid #b3b4bd;
+    border-bottom: 1px solid #d9dadf;
+    height: 30px;
+    line-height: 30px;
+    color: #444757;
+    background: url('../img/contents/subtitle_back_02.jpg') repeat-x;
+    font-size: 130%;
+}
+
+h1 span.title {
+    display:block;
+    padding-top: 2px;
+    padding-left: 20px;
+    background: url('../img/contents/subtitle_back.gif') no-repeat;
+}
+
+h2 {
+    margin: 0 0 10px 0;
+    padding: 5px 0;
+    border-bottom: 3px solid #ccc;
+    color: #444757;
+    font-size: 100%;
+}
+
+h3{
+    margin-bottom: 20px;
+    padding: 5px;
+    color : #fff;
+    background: #999;
+    font-size: 90%;
+}
+
+
+/*テーブル設定*/
+table {
+    margin: 0 0 20px;
+    border-collapse: collapse;
+    width: 100%;
+    font-size: 100%;
+}
+
+th, td {
+    padding: 5px;
+    border: 1px solid #ccc;
+}
+
+th {
+    width: 240px;
+    background: url('../img/contents/table_back.png') repeat-x #f4f5f5;
+    font-weight: normal;
+    text-align: left;
+}
+
+table.list th {
+    background: url('../img/contents/table_back.png') repeat-x #b4b4b4;
+    text-align: center;
+}
+
+table.list th.column {
+    background: url('../img/contents/table_back.png') repeat-x #f4f5f5;
+    text-align: left; 
+}
+
+table.list .edit, table.list .delete {
+    width: 10%;
+}
+
+table.list {
+    width: 100%;
+}
+
+table.list th.left {
+    text-align: left;
+}
+
+table.list th.right {
+    text-align: right;
+}
+
+table.list td.id, table.list td.thumbnail {
+    text-align: center;
+}
+
+table.list td.menu {
+    vertical-align: middle;
+    text-align: center;
+}
+
+table.form th {
+    width: 240px;
+    text-align: left;
+}
+
+table tr.last {
+    background: #e0e0e0;
+}
+
+#popup-container table th.column {
+    width: 200px;
+}
+
+.contents-main .btn-area, #popup .btn-area, #form_edit .btn-area{
+    margin : 0 0 60px 0;
+    padding: 20px 0;
+    clear: both;
+    width: 100%;
+    background:#f5f5f5;
+    text-align: center;
+}
+
+.contents-main .btn-area li, #popup .btn-area li ,.btn-area li{
+    margin-right: 10px;
+    display: inline;
+}
+
+.addnew{
+    margin-bottom: 20px;
+}
+
+
+/*おすすめ商品管理*/
+
+table#recommend-table {
+    border-collapse: collapse;
+    font-size: 100%;
+    margin: 0 0 50px;
+    width: 100%;
+}
+
+div#table-wrap {
+    margin-top: 6px;
+}
+
+div#table-wrap div.table-img {
+    float: left;
+    padding-left: 6px;
+}
+
+div#table-wrap div.table-detail {
+    float: left;
+    text-align: left;
+    padding-left: 11px;
+}
+
+div#table-wrap div.table-detail div.detail-name {
+    margin-bottom: 5px;
+}
+
+td.no-border {
+    border: 0;
+    background: #f5f5f5;
+    padding: 20px;
+}
+
+td.no-border-w {
+    border: 0;
+}
+
+td.AlignLeft {
+    text-align: left;
+    padding-left: 11px;
+}
+
+/*通常ボタン*/
+.btn-normal, a.btn-normal:link, a.btn-normal:visited {
+    margin-right: 5px;
+    padding: 2px 10px;
+    border: solid 1px #bcbecb;
+    display: inline-block;
+    color: #444757;
+    background-image: url('../img/button/white-grad.png');
+    background-attachment: scroll;
+    background-clip: border-box;
+    background-color: #eee;
+    font-weight: normal;
+    font-size: 90%;
+    text-decoration: none;
+    white-space: nowrap;
+    cursor: pointer;
+
+    /* CSS3 radius */
+    border-radius: 5px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 5px;
+    /* Firefox radius */
+    -moz-border-radius: 5px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 5px;
+    /* Firefox radius */
+    -moz-border-radius: 5px;
+}
+
+
+/*ツールボタン 共通部分*/
+.btn-tool-format, a.btn-tool-format:link, a.btn-tool-format:visited {
+    padding: 0 6px;
+    border: solid 1px #6b6d87;
+    display: inline-block;
+    color: #444757;
+    background: url('../img/button/white-grad03.png') repeat-x #eee;
+    background-origin: padding-box;
+    background-attachment: scroll;
+    background-clip: border-box;
+    background-color: #c9cbcb;
+    font-weight: bold;
+    font-size: 90%;
+    text-decoration: none;
+    cursor: pointer;
+
+    /* CSS3 radius */
+    border-radius: 4px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 4px;
+    /* Firefox radius */
+    -moz-border-radius: 4px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 4px;
+    /* Firefox radius */
+    -moz-border-radius: 4px;
+}
+
+
+/*ツールボタン コンテンツ*/
+.btn-tool, a.btn-tool:link, a.btn-tool:visited {
+    padding: 0 6px;
+    border: solid 1px #999;
+    display: inline-block;
+    color: #444757;
+    background: url('../img/button/white-grad.png') repeat-x #eee;
+    background-origin: padding-box;
+    background-attachment: scroll;
+    background-clip: border-box;
+    background-color: #c9cbcb;
+    font-size: 100%;
+    text-decoration: none;
+    cursor: pointer;
+
+    /* CSS3 radius */
+    border-radius: 4px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 4px;
+    /* Firefox radius */
+    -moz-border-radius: 4px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 4px;
+    /* Firefox radius */
+    -moz-border-radius: 4px;
+}
+
+
+/*登録する・検索するボタン*/
+.btn-action, a.btn-action:link, a.btn-action:visited {
+    padding: 5px 10px;
+    border: solid 1px #bcbecb;
+    display: inline-block;
+    color: #444757;
+    background: url('../img/button/white-grad04.png') top repeat-x #eee;
+    background-attachment: scroll;
+    background-clip: border-box;
+    font-weight: normal;
+    font-size: 80%;
+    text-decoration: none;
+    white-space: nowrap;
+    cursor: pointer;
+
+    /* CSS3 radius */
+    border-radius: 5px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 5px;
+    /* Firefox radius */
+    -moz-border-radius: 5px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 5px;
+    /* Firefox radius */
+    -moz-border-radius: 5px;
+}
+
+/*商品を選択するボタン(2/18追加)*/
+.btn-action-m, a.btn-action-m:link, a.btn-action-m:visited {
+    padding: 3px 10px;
+    border: solid 1px #bcbecb;
+    display: inline-block;
+    color: #444757;
+    background: url('../img/button/white-grad04.png') top repeat-x #eee;
+    background-attachment: scroll;
+    background-clip: border-box;
+    font-weight: normal;
+    font-size: 90%;
+    text-decoration: none;
+    white-space: nowrap;
+    cursor: pointer;
+
+    /* CSS3 radius */
+    border-radius: 5px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 5px;
+    /* Firefox radius */
+    -moz-border-radius: 5px;
+    /* Safari, Chrome radius */
+    -webkit-box-sizing: content-box;
+    -webkit-border-radius: 5px;
+    /* Firefox radius */
+    -moz-border-radius: 5px;
+}
+
+
+/*戻るボタン*/
+.btn-action .btn-prev {
+    padding: 0 0 0 20px;
+    display: inline-block;
+    background: url('../img/button/ico_prev.gif') left no-repeat;
+    font-weight: bold;
+    font-size: 114%;
+}
+
+
+/*進むボタン*/
+.btn-action .btn-next {
+    padding: 0 20px 0 0;
+    display: inline-block;
+    background: url('../img/button/ico_next.gif') right no-repeat;
+    font-weight: bold;
+    font-size: 114%;
+}
+
+a.btn-normal:hover, a.btn-action:hover, a.btn-tool:hover{
+    border: solid 1px #d5d7df;
+    color: #6d728b;
+}
+
+a.btn-tool-format:hover{
+    border: solid 1px #363a47;
+    color: #6b728b;
+}
+
+a.btn:active, a.btn-normal:active {
+    background-image: url('../img/button/white-grad-active.png');
+}
+
+
+/*LINK*/
+a:link {
+    color: #39c;
+    text-decoration: none;
+}
+
+a:visited {
+    color: #39c;
+    text-decoration: none;
+}
+
+a:hover {
+    color: #39c;
+    text-decoration: none;
+}
+
+.left {
+    text-align: left;
+}
+
+.center {
+    text-align: center;
+}
+
+.right {
+    text-align: right;
+}
+
+.attention {
+    color: #f00;
+}
+
+
+/* ヘッダー
+----------------------------------------------- */
+#errorHeader {
+    color: #F00;
+    font-weight: bold;
+    font-size: 12px;
+    background-color: #FEB;
+    text-align: center;
+    padding: 5px;
+}
+#header {
+    width: 100%;
+    height: 51px;
+    background: url('../img/header/header_back.jpg') 0 0 repeat-x;
+}
+
+#header-contents {
+    width: 1030px;
+}
+
+#logo {
+    padding: 12px 0 0 12px;
+    float: left;
+    width: 184px;
+}
+
+#site-check {
+    float: right;
+    width: 820px;
+}
+#site-check p.info {
+    padding-top: 16px;
+    float: left;
+    width: 580px;
+    color: #fff;
+    font-size: 80%;
+}
+
+#site-check ul {
+    padding-top: 14px;
+    float: right;
+}
+
+#site-check ul li {
+    margin-right: 10px;
+    float: left;
+}
+
+
+/* ヘッダーナビ
+----------------------------------------------- */
+#navi {
+    z-index: 90;
+    height: 28px;
+    background: url('../img/header/navi_back.jpg') top left repeat-x;
+    font-size: 100%;
+    line-height: 100%;
+}
+
+#navi li {
+    background: url('../img/header/navi_back_line.jpg') no-repeat right;
+    display: block;
+    float: left;
+    cursor: pointer;
+    height: 28px;
+    position: relative;
+}
+
+#navi li a, #navi li a span {
+    display: block;
+    _float: left;/*IE6対策*/
+    cursor: pointer;
+}
+
+#navi li a {
+    color: #2d2f39;
+    height: 28px;
+    font-weight: bold;
+    text-decoration: none;
+}
+
+#navi li a span {
+    padding: 7px 10px;
+    _padding: 9px 10px 5px;/*IE6対策*/
+    height: 15px;
+    _height: 13px;/*IE6対策*/
+}
+
+#navi li a:hover {
+    background: url('../img/header/navi_on.jpg') left 0 repeat-x;
+}
+
+#navi li a:hover span {
+    background: url('../img/header/navi_on.jpg') left 0 repeat-x;
+}
+
+#navi li.on a {
+    background: url('../img/header/navi_on.jpg') left 0 repeat-x;
+}
+
+#navi li.on a span {
+    background: url('../img/header/navi_on.jpg') left 0 repeat-x;
+}
+
+#navi li.sfhover a {
+    background: url('../img/header/navi_on.jpg') left 0 repeat-x;
+}
+
+#navi li.sfhover a span {
+    background: url('../img/header/navi_on.jpg') left 0 repeat-x;
+}
+
+#navi li ul {
+    position: absolute;
+    top: 26px;
+    left: -9999px;
+    width: 14px;
+    font-weight: normal;
+    clear: both;
+}
+
+
+/*プルダウンメニュー 第1階層*/
+#navi li li {
+    display: block;
+    top: 2px;
+    width: 180px;
+    height: 27px;
+    line-height: 24px;
+    color: #fff;
+    background: url('../img/header/subnavi_bak.gif') top left no-repeat #787878;
+    font-weight: normal;
+}
+
+#navi li li a {
+    display: block;
+    top: 2px;
+    width: 180px;
+    height: 27px;
+    line-height: 24px;
+    color: #fff;
+    background: url('../img/header/subnavi_bak.gif') top left no-repeat #787878;
+    font-weight: normal;
+}
+
+#navi li li a span {
+    display: block;
+    top: 2px;
+    width: 180px;
+    height: 27px;
+    line-height: 24px;
+    color: #fff;
+    background: url('../img/header/subnavi_bak.gif') top left no-repeat #787878;
+    font-weight: normal;
+}
+
+#navi li li {
+    border: solid #888;
+    border-width: 0 0 1px 0;
+}
+
+#navi li li a span {
+    padding: 2px 0 0 8px;
+    text-indent: 8px;
+}
+
+#navi li li a:hover {
+    background: url('../img/header/subnavi_bak_on.gif') top left no-repeat #474747;
+}
+
+#navi li li a:hover span {
+    background: #666;
+}
+
+#navi li.on li a, #navi li.on li a span, #navi li li.on a, #navi li li.on a span, {
+    background: transparent;
+}
+
+#navi li.sfhover li a, #navi li.sfhover li a span, #navi li li.sfhover a, #navi li li.sfhover a span {
+    background: transparent;
+}
+
+#navi li.sfhover li a:hover {
+    background: url('../img/header/subnavi_bak_on.gif') top left no-repeat #474747;
+}
+
+#navi li li.sfhover a:hover {
+    background: url('../img/header/subnavi_bak_on.gif') top left no-repeat #474747;
+}
+
+
+/*プルダウンメニュー 第2階層*/
+#navi li ul.level2 {
+    position: absolute;
+    top: 27px;
+    left: -9999px;
+    width: 14px;
+    font-weight: normal;
+}
+
+#navi li li li, #navi li li a, #navi li li li a span {
+    margin-left: 0;
+    display: block;
+    width: 180px;
+    top: 1px;
+    height: 27px;
+    line-height: 24px;
+    color: #fff;
+    background: #787878;
+    font-weight: normal;
+    background: url('../img/header/subnavi_bak.gif') top left no-repeat #787878;
+}
+
+#navi li li li.sfhover a:hover {
+    width: 180px;
+    top: 1px;
+    height: 27px;
+    color: #fff;
+    background: url('../img/header/ico_sub_navi.gif') no-repeat left #474747;
+}
+
+#navi li ul ul {
+    margin: -28px 0 0 180px;
+    _margin: -28px 0 0 187px;/*IE6応急 */
+}
+
+#navi li:hover ul ul, #navi li:hover ul ul ul, #navi li.sfhover ul ul, #navi li.sfhover ul ul ul {
+    left: -9999px;
+}
+
+#navi li:hover ul, #navi li li:hover ul, #navi li li li:hover ul, #navi li.sfhover ul, #navi li li.sfhover ul, #navi li li li.sfhover ul {
+    left: auto;
+}
+
+
+/*subnavi*/
+.subnavi a {
+    padding: 6px 5px 4px 5px;
+    display: block;
+    width: 140px;
+    color: #fff;
+    background-color: #666;
+    text-decoration: none;
+}
+.subnavi a:visited {
+    color: #fff;
+    text-decoration: none;
+}
+.subnavi a:hover {
+    color: #000;
+    background-color: #666;
+    text-decoration: none;
+}
+.subnavi_text {
+    padding: 0 0 0 8px;
+    font-size: 71%;
+}
+.subnavi-on a {
+    padding: 6px 5px 4px 5px;
+    display: block;
+    width: 140px;
+    color: #000;
+    background-color: #666;
+    text-decoration: none;
+}
+.subnavi-on a:visited {
+    color: #000;
+    text-decoration: none;
+}
+.subnavi-on a:hover {
+    color: #000;
+    background-color: #666;
+    text-decoration:none;
+}
+.number-on a:visited {
+    color: #fff;
+    text-decoration: none;
+}
+.number a:visited {
+    color: #fff;
+    text-decoration: none;
+}
+
+#agreement {
+    margin: 0;
+    border-width: 1px
+    border-color: #c0c0c0;
+    border-style: solid;
+    width: 480px;
+    height: 120px;
+    overflow: auto;
+    background-color : #fff;
+}
+
+
+/* ページャ */
+#contents .pager ul {
+    margin: 10px 0;
+    list-style-type: none;
+}
+
+.pager li {
+    display: inline;
+}
+
+.pager li a {
+    padding: 3px 5px;
+    border: 1px solid #ccc;
+}
+
+.pager li.on a {
+    border: 1px solid #333;
+    background: #f2f1ec;
+}
+
+.pager li a:hover, .pager li.on a:hover {
+    background: #fff5ee;
+}
+
+
+/* コンテンツ
+----------------------------------------------- */
+* html div#container {
+    position: relative;
+    height: 100%;
+    min-height: 100%;
+}
+
+body > #container {
+    height: auto;
+}
+
+#container {
+    position: relative;
+    min-height: 100%;
+}
+
+#contents {
+    padding: 20px 20px 100px;
+    width: 1000px;
+}
+
+#footer {
+    margin-top: 30px;
+    position: absolute;
+    bottom: 0;
+    width: 100%;
+    height: 40px;
+    background: url('../img/contents/footer_back.jpg') 0 0 repeat-x;
+}
+
+#footer-contents {
+    padding-top: 10px;
+    width: 1020px;
+    text-align: right;
+}
+
+#footer #copyright {
+    margin-left: 20px;
+    float: left;
+    color: #fff;
+    font-size: 85%;
+    text-align: left;
+}
+
+#footer #topagetop {
+    float: right;
+}
+
+
+/* ログイン
+----------------------------------------------- */
+#login {
+    margin: 0 auto;
+    padding: 0;
+    width: 100%;
+    text-align: center;
+}
+
+#login-wrap {
+    margin: 150px auto 0;
+    padding: 0;
+    border: 0;
+    text-align: left;
+    width:556px;
+    z-index: 2;
+    background: url('../img/contents/admin_login_bg.jpg') center top repeat-x;
+    -moz-box-shadow: 0 0 5px #000;/* Firefox */
+    -webkit-box-shadow: 0 0 5px #000;/* Safari and Chrome */
+}
+
+#login-form h1 {
+    margin: 46px auto 20px;
+    padding-left: 50px;
+    padding-bottom: 40px;
+    border: none;
+    float: left;
+    width: 140px;
+    height: 150px;
+    background: none;
+}
+
+#input-form {
+    margin-top: 40px;
+    padding-right: 30px;
+    float: right;
+    width: 255px;
+}
+
+#input-form p {
+    margin-top: 10px;
+    color: #fff;
+    font-size: 100%;
+}
+
+#input-form .btn-tool {
+    margin-top: 5px;
+}
+
+#login #copyright {
+    margin: 0 auto;
+    padding-top: 10px;
+    width: 556px;
+    color: #000000;
+    font-size: 80%;
+    text-align: left;
+}
+
+
+/* エラーメッセージ
+----------------------------------------------- */
+
+
+/*以下インストールページと共通■触るべからず*/
+
+#out-wrap {
+    margin: 100px auto;
+    width: 560px;
+}
+
+#out-wrap .logo {
+    padding-bottom: 5px;
+    float: right;
+}
+
+#out {
+    margin: 0 auto;
+    width: 560px;
+}
+
+#error .out-top {
+    clear: both;
+    width: 560px;
+    height: 10px;
+    background: url('../img/contents/login_back_top.jpg') bottom left no-repeat;
+}
+
+/*以上インストールページと共通■触るべからず*/
+
+
+#error .contents {
+    border-right: solid 1px #d9dadf;
+    border-left: solid 1px #d9dadf;
+}
+
+#error .contents .message {
+    padding: 20px 30px;
+    text-align: center;
+}
+
+#error .btn-area-top {
+    width: 560px;
+    height: 10px;
+    background: url('../img/contents/login_back_btn_top.jpg') left no-repeat;
+}
+
+#error .btn-area ul {
+    padding: 20px 0 10px 0;
+    width: 560px;
+    background: url('../img/contents/login_back_btn_contents.jpg') top left no-repeat #f4f5f5;
+}
+
+#error .btn-area ul li {
+    text-align: center;
+}
+
+#error .btn-area-bottom {
+    width: 560px;
+    height: 10px;
+    background: url('../img/contents/login_back_btn_bottom.jpg') bottom left no-repeat #eeeff0;
+}
+
+
+/* 完了メッセージ
+----------------------------------------------- */
+#complete {
+    margin: 40px 0 0 80px;
+    width: 560px;
+}
+
+#complete .complete-top {
+    clear: both;
+    width: 560px;
+    height: 10px;
+    background: url('../img/contents/login_back_top.jpg') bottom left no-repeat;
+}
+
+#complete .contents {
+    border-right: solid 1px #d9dadf;
+    border-left: solid 1px #d9dadf;
+}
+
+#complete .contents .message {
+    padding: 20px 30px;
+    color: #b77615;
+    font-weight: bold;
+    text-align: center;
+}
+
+#complete .btn-area-top {
+    width: 560px;
+    height: 10px;
+    background: url('../img/contents/login_back_btn_top.jpg') left no-repeat;
+}
+
+#complete .btn-area ul {
+    margin: 0;
+    padding: 20px 0 10px 0;
+    width: 560px;
+    background: url('../img/contents/login_back_btn_contents.jpg') top left no-repeat #f4f5f5;
+    text-align: center;
+}
+
+#complete .btn-area ul li {
+    margin-right: 10px;
+    display: inline;
+}
+
+#complete .btn-area-bottom {
+    clear: both;
+    width: 560px;
+    height: 10px;
+    background: url('../img/contents/login_back_btn_bottom.jpg') bottom left no-repeat #eeeff0;
+}
+
+
+/* メインページ
+----------------------------------------------- */
+#home-main {
+    margin-right: 300px;
+}
+
+#home-main table {
+    width: 100%;
+}
+
+* html #home-main table {
+    width: 99%;
+}
+
+#home .shop-info {
+    margin: 0 0 20px;
+}
+
+#home .shop-info td {
+    width: 60%;
+    text-align: right;
+}
+
+#home-info {
+    border-left: 1px solid #ccc;
+    float: right;
+    width: 280px;
+}
+
+.home-info-item {
+    margin: 0 0 15px 20px;
+    width: 260px;
+    line-height: 14px;
+    font-size: 85%;
+}
+
+.home-info-item .body {
+    margin: 5px 0 0 0;
+}
+
+.home-info-item .date {
+    background: #ddd;padding: 5px 10px 0px;
+}
+
+.home-info-item .title {
+    padding: 0 10px 5px;
+    background: #ddd;
+}
+
+
+/* 基本情報管理
+----------------------------------------------- */
+/* 郵便番号DB登録 */
+.basis-zip-item {
+    margin-bottom: 30px;
+}
+
+.basis-zip-item.end {
+    margin-bottom: 60px;
+}
+
+.basis-zip-item.info {
+    padding-top: 20px;
+}
+
+.basis-zip-item p {
+    margin-bottom: 10px;
+}
+
+
+/* 商品管理
+----------------------------------------------- */
+#products-category-left, #products-rank-left {
+    float: left;
+    width: 285px;
+    min-height: 200px;
+}
+
+#products-category-right, #products-rank-right {
+    margin-left: 285px;
+}
+
+#products-class-list .action {
+    width: 100px;
+}
+
+#contents-filemanager-tree #tree {
+    float: left;
+    min-height: 200px;
+}
+
+#products-category-left, #products-rank-left {
+    min-height: 200px;
+    padding: 10px;
+    border: 3px solid #ddd;
+    width: 230px;
+    background-color: #f3f3f3;
+}
+
+#products-category-right .now_dir {
+    margin-bottom:20px;
+    padding: 10px;
+    border: 1px solid #ccc;
+}
+
+#products .class-payment {
+    padding-top: 15px;
+    font-size: 88%;
+}
+#products label {
+    white-space: nowrap;
+}
+#products .class-product-type label {
+   white-space: normal;
+}
+#products .list-info{
+    padding-top: 10px;
+    border-top: solid 1px #ccc;
+}
+#products .list-info .btn {
+    float: left;
+    margin-right:20px;
+}
+#products .list-info p {
+    float: right;
+    color: #444757;
+}
+
+
+/* 受注管理
+----------------------------------------------- */
+/* ステータス管理 */
+#order-status-list th.id {
+    width: 40px;
+}
+
+
+/* 期間別集計
+----------------------------------------------- */
+#graph-image {
+    margin: 0 0 20px 0;
+}
+
+
+/* デザイン管理
+----------------------------------------------- */
+/* レイアウト設定 */
+.design-layout {
+    table-layout: fixed;
+}
+
+.design-layout th, .design-layout td {
+    vertical-align: top;
+    text-align: center;
+}
+
+#design-layout-used {
+    width: 525px;
+}
+
+#design-layout-unused {
+    width: 175px;
+}
+
+.design-layout #LeftNavi, .design-layout #MainHead, .design-layout #RightNavi {
+    width: 33.33%;
+}
+
+.design-layout #TopNavi, .design-layout #HeadNavi, .design-layout #HeaderTopNavi, .design-layout #LeftNavi,
+.design-layout #MainHead, .design-layout #MainFoot, .design-layout #RightNavi, .design-layout #BottomNavi,
+.design-layout #FooterBottomNavi, .design-layout #HeaderInternalNavi, .design-layout #Unused {
+    padding-bottom: 20px;
+    height: 10px; /*IE6応急処置 */
+}
+
+.design-layout div.sort {
+    margin: 5px 0;
+    padding: 5px 2px;
+    border: 1px solid #000;
+    color: #333;
+    background: #eee;
+    font-size: 100%;
+}
+
+.design-layout .anywherecheck {
+    white-space: nowrap;
+}
+
+.placeholder {
+    border: 1px dashed #aaa;
+    height: 20px;
+}
+
+#layout-header {
+    vertical-align: middle;
+}
+
+
+/* コンテンツ管理
+----------------------------------------------- */
+#contents-csv-sqltbl {
+    margin-bottom: 40px;
+}
+
+
+/* フォーム
+----------------------------------------------- */
+div.btn,p.remark {
+    margin: 0 0 20px 0;
+}
+
+/*FORM*/
+.box3 {
+    width: 33px;
+}/*W3*/
+
+.box6 {
+    width: 54px;
+}/*W6*/
+
+.box10 {
+    width: 82px;
+}/*W10*/
+
+.box20 {
+    width: 152px;
+}/*W20*/
+
+.box25 {
+    width: 187px;
+}/*W25*/
+
+.box30 {
+    width: 222px;
+}/*W30*/
+
+.box33 {
+    width: 243px;
+}/*W33*/
+
+.box35 {
+    width: 257px;
+}/*W35*/
+
+.box40 {
+    width: 276px;
+}/*W40*/
+
+.box45 {
+    width: 341px;
+}/*W45*/
+
+.box50 {
+    width: 362px;
+}/*W50*/
+
+.box52 {
+    width: 376px;
+}/*W52*/
+
+.box54 {
+    width: 390px;
+}/*W54*/
+
+.box60 {
+    width: 432px;
+}/*W60*/
+
+.box65 {
+    width: 467px;
+}/*W65*/
+
+.box68 {
+    width: 488px;
+}/*W68*/
+
+.box76 {
+    width: 544px;
+}/*W76*/
+
+.area40 {
+    width: 302px;
+    height: 134px;
+}/*W40×H8*/
+
+.area45 {
+    width: 337px;
+    height: 290px;
+}/*W40×H20*/
+
+.area46 {
+    width: 337px;
+    height: 134px;
+}/*W40×H8*/
+
+.area50 {
+    width: 372px;
+    height: 82px;
+}/*W50?H4*/
+
+.area55 {
+    width: 407px;
+    height: 82px;
+}/*W50?H4*/
+
+.area59 {
+    width: 432px;
+    height: 134px;
+}/*W59×H8*/
+
+.area60 {
+    width: 433px;
+    height: 134px;
+}/*W60?H8*/
+
+.area61 {
+    width: 433px;
+    height: 82px;
+}/*W60?H4*/
+
+.area65 {
+    width: 444px;
+    height: 290px;
+}/*W65×H20*/
+
+.area70 {
+    width: 512px;
+    height: 186px;
+}/*W70?H12*/
+
+.area75 {
+    width: 547px;
+    height: 186px;
+}/*W75?H12*/
+
+.area80 {
+    width: 572px;
+    height: 134px;
+}/*W80×H8*/
+
+.area90 {
+    width: 650px;
+    height: 420px;
+}
+
+.area96 {
+    width: 694px;
+    height: 420px;
+}/*W80×H30*/
+
+.area96_2 {
+    width: 694px;
+    height: 160px;
+}/*W80×H10*/
+
+.area99 {
+    width: 715px;
+    height: 523px;
+}/*W99?H40*/
+
+/*COLOR*/
+.red {
+    color: #f00;
+}
+
+
+/*FONT*/
+.bold {
+    font-weight:bold;
+}
+
+
+/* フロート解除 */
+.clearfix:after {
+    display:block;
+    clear:both;
+    height:0;
+    line-height:0;
+    visibility:hidden;
+    content:".";
+}
+
+
+/* 権限 */
+x-dummy
+,.authority_1 #navi-basis-masterdata
+,.authority_1 #navi-contents-file
+,.authority_1 #navi-design-bloc
+,.authority_1 #navi-design-template
+,.authority_1 #navi-design-add
+,.authority_1 #navi-system
+,.authority_1 #navi-ownersstore {
+/* display: none; --- IE で不具合 */
+    border: none;
+    width: 0;
+    height: 0;
+    overflow: hidden;
+    visibility: hidden;
+}
+
+
+/* DnD並び替え系の設定 */
+tr.movingHandle td {
+    background-color: #eee;
+}
+
+
+.dragHandle { /* ハンドルの設定 */
+    font-weight: bold;
+    text-align: center;
+    cursor: n-resize;
+}
+
+
+.activeHandle { /* アクティブハンドルの設定 */
+    color: #f9a406;
+}
+
+
+table.layout, table.layout th, table.layout td {
+    margin: 0;
+    padding: 0;
+    border: none;
+    width: auto;
+    vertical-align: top;
+}
+
+
+/* ログ表示用 */
+.log td {
+    padding-top: 0;
+    padding-bottom: 0;
+    vertical-align: top;
+}
+
+.log .date {
+    white-space: nowrap;
+}
+
+
+/* ポップアップ画面用 */
+body#popup {
+    width: 100%;
+}
+
+#popup-header {
+    margin-bottom: 30px;
+    width: 100%;
+    height: 35px;
+    background: url('../img/header/popup_back.jpg') repeat-x;
+    text-align: right;
+}
+
+#popup-logo {
+    padding: 10px 10px 0 0;
+}
+
+#popup-container {
+    margin: 0 auto;
+    padding: 0 20px;
+    width: 560px;
+}
+
+
+/*以下インストールページと共通■触るべからず*/
+
+#outside {
+    margin:0 auto;
+    padding:0;
+    text-align:center;
+    width:100%;
+}
+
+/*以上インストールページと共通■触るべからず*/
Index: /branches/eccube-donation/html/frontparts/bloc/send_point.php
===================================================================
--- /branches/eccube-donation/html/frontparts/bloc/send_point.php	(revision 20622)
+++ /branches/eccube-donation/html/frontparts/bloc/send_point.php	(revision 20622)
@@ -0,0 +1,170 @@
+<style type="text/css">
+div#sendPoint{border: none;background: #FFF6CF;text-align: center;overflow: auto;}
+div#sendPoint div#innner{border: 3px solid red;margin:8px;}
+div#sendPoint div#innner h2{margin:12px;font-size:18px;color:red;text-shadow: -1px -1px 0px #FFF;font-weight: bold;}
+div#sendPoint div#innner p{margin:2px 4px;font-size:90%;}
+div#sendPoint div#innner div#sendForm{border:1px solid #CCC;margin:12px;background:#FFF;padding:8px 4px;}
+div#sendPoint div#innner div#sendForm form input{font-size: 120%;width: 60px;margin-bottom:4px;}
+div#sendPoint div#innner div#sendForm form input#sendpointValue{text-align: right; padding:2px 4px;margin-right: 6px;}
+div#sendPoint div#innner span.smalltext{font-size:90%;}
+div#sendPoint div#innner span.red{color:red;font-weight: bold;}
+</style>
+<?php
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * 
+ * 2011-03-12 Tao Sasaki (tao@xross-cube.com)
+ *
+ */
+
+// {{{ requires
+if( !defined("CLASS_PATH") ){
+    require_once("../../require.php");
+}
+require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php");
+
+// }}}
+// {{{ generate page
+class LC_Page_FrontParts_Bloc_SendPoint extends LC_Page_FrontParts_Bloc {
+
+    // }}}
+    // {{{ functions
+
+    /**
+     * Page を初期化する.
+     *
+     * @return void
+     */
+    function init() {
+        parent::init();
+        $this->tpl_login = false;
+        $this->tpl_disable_logout = false;
+        $this->tpl_error = "";
+    }
+
+    /**
+     * Page のプロセス.
+     *
+     * @return void
+     */
+    function process() {
+        if(!file_exists(DATA_PATH.'downloads/donation.csv')){
+            $objQuery = new SC_Query;
+            $ret = $objQuery->getOne("SELECT php_path FROM dtb_bloc WHERE php_path = 'frontparts/bloc/send_point.php'");
+            if(!$ret){
+                $objQuery->query("INSERT INTO dtb_bloc (bloc_name,tpl_path,filename,create_date,update_date,php_path,del_flg)
+                 VALUES('東北地方太平洋沖地震ポイント寄付','','send_point',NOW(),NOW(),'frontparts/bloc/send_point.php',0)");
+            }
+        }
+
+        $objCustomer = new SC_Customer();
+        $objCustomer->updateSession();
+        // クッキー管理クラス
+        $objCookie = new SC_Cookie(COOKIE_EXPIRE);
+
+        // ログイン判定
+        if($objCustomer->isLoginSuccess()) {
+            $this->tpl_user_point = $objCustomer->getValue('point');
+            if (strlen($this->tpl_user_point) == 0) $this->tpl_user_point = 0;
+            if(isset($_POST["sendpoint"]) and $this->isValidToken()){
+                //ポイント寄付処理
+                $point = intval(mb_convert_kana($_POST["sendpoint"],"n"));
+                if(!$point or $this->tpl_user_point < $point){
+                    $this->tpl_error = "1以上のポイントを保有ポイント内で半角数字で入力してください。";
+                }else{
+                    $objQuery = new SC_Query;
+                    $sqlval = array('point' => ($this->tpl_user_point - $point));
+                    $where = 'customer_id = ? AND del_flg = 0 AND status = 2';
+                    $rs = $objQuery->update('dtb_customer', $sqlval, $where, array($objCustomer->getValue('customer_id')));
+                    if($rs){
+                        $fp = fopen(DATA_PATH.'downloads/donation.csv','a+');
+                        fwrite($fp,date("Y-m-d G:i:s").",".$objCustomer->getValue('customer_id').",".$point."\n");
+                        $objCustomer->setValue("point", ($this->tpl_user_point - $point));
+                        $this->tpl_error = "ご協力ありがとうございます。".$point."ptを承りました。<br />寄付頂いたポイント分を、東北地方太平洋沖地震の復旧活動へ寄付いたします。"; 
+                    } else {
+                        $this->tpl_error = "システムエラー";  
+                    }
+                }
+            }
+            $this->tpl_login = true;
+            $objCustomer->updateSession();
+            $this->tpl_user_point = $objCustomer->getValue('point');
+            if (strlen($this->tpl_user_point) == 0) $this->tpl_user_point = 0;
+            $this->tpl_name1 = $objCustomer->getValue('name01');
+            $this->tpl_name2 = $objCustomer->getValue('name02');
+        } else {
+            // クッキー判定
+            $this->tpl_login_email = $objCookie->getCookie('login_email');
+            if($this->tpl_login_email != "") {
+                $this->tpl_login_memory = "1";
+            }
+
+            // POSTされてきたIDがある場合は優先する。
+            if($_POST['login_email'] != "") {
+                $this->tpl_login_email = $_POST['login_email'];
+            }
+        }
+        $this->transactionid = $this->getToken();
+    }
+
+    /**
+     * デストラクタ.
+     *
+     * @return void
+     */
+    function destroy() {
+        parent::destroy();
+    }
+}
+
+$objPage = new LC_Page_FrontParts_Bloc_SendPoint();
+register_shutdown_function(array($objPage, "destroy"));
+$objPage->init();
+$objPage->process();
+
+?>
+<a name="sendPoint"></a>
+<div id="sendPoint">
+<div id="innner">
+<h2>東北地方太平洋沖地震へのポイント寄付のお願い</h2>
+<?php if($objPage->tpl_login){?>
+<p>現在お客様が保有している当店のポイントを東北地方太平洋沖地震の復旧活動へ寄付出来ます。</p>
+<p>下記フォームに寄付するポイント数を入力の上、「寄付」ボタンをクリックしてください。</p>
+<p>運営担当者が寄付されたポイントを集計し、東北地方太平洋沖地震の復旧活動に寄付させて頂きます。</p>
+<div id="sendForm">
+<p><span class="red"><?php echo $objPage->tpl_error; ?></span></p>
+    <form method="post" action="#sendPoint" name="sendPoint">
+        <input type="hidden" name="transactionid" value="<?php echo $objPage->transactionid ?>" />
+        <p><span class="smalltext">現在お客様が保有しているポイント:<?php echo $objPage->tpl_user_point ?>pt</span></p>
+        <p>
+            <input type="text" maxlength="10" name="sendpoint" id="sendpointValue" value="" size="5" />ptを寄付<br />
+            <input type="submit" value="寄付" />
+        </p>
+    </form>
+</div>
+<?php }else{ ?>
+<p>会員のお客様は、現在お客様が保有している当店のポイントを東北地方太平洋沖地震の復旧活動へ寄付できます。ログインしてご協力をお願いします。</p>
+<p>- <a href="<?php echo URL_MYPAGE_TOP ?>">ログイン</a> -</p>
+<p>運営担当者が寄付されたポイントを集計し、東北地方太平洋沖地震の復旧活動へ寄付させて頂きます。</p>
+<?php } ?>
+</div>
+</div>
+
Index: /branches/eccube-donation/html/frontparts/bloc/index.php
===================================================================
--- /branches/eccube-donation/html/frontparts/bloc/index.php	(revision 20622)
+++ /branches/eccube-donation/html/frontparts/bloc/index.php	(revision 20622)
@@ -0,0 +1,112 @@
+<?php
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
+// html/admin/require.php を require
+if( !defined("CLASS_PATH") ){
+    require_once("../../admin/require.php");
+}
+
+
+// 管理画面認証
+SC_Utils_Ex::sfIsSuccess(new SC_Session());
+
+// 定数
+define('DONATION_TITLE', 'EC-CUBE Donation');
+define('DONATION_DATA', DATA_PATH . 'downloads/donation.csv');
+define('DONATION_VERSION', '0.0.1');
+
+$objQuery = new SC_Query();
+// 全顧客取得
+$arrCustomerTemp = $objQuery->getAll('SELECT customer_id, name01, name02, point FROM dtb_customer WHERE del_flg = 0');
+
+// ポイント合計
+$arrPoints = $objQuery->getAll('SELECT SUM(point) FROM dtb_customer WHERE del_flg = 0');
+$total_point = 0;
+if (!is_null($arrPoints[0])) {
+    $total_point = $total_point[0];
+
+}
+// 顧客IDごとの配列
+$arrCustomers = array();
+
+foreach ($arrCustomerTemp as $customer) {
+    $arrCustomers[$customer['customer_id']] = $customer;
+}
+
+// 寄付一覧
+$arrDnTemp = file(DONATION_DATA);
+$arrDonations = array();
+$correct_point = 0;
+foreach ($arrDnTemp as $dn) {
+    $arrDn = explode(",", $dn);
+    $arrDonations[] = $arrDn;
+    $correct_point += $arrDn[2];
+}
+
+?>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
+<head>
+<title><?php echo DONATION_TITLE; ?> <?php echo DONATION_VERSION; ?></title>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHAR_CODE; ?>" />
+<meta http-equiv="content-script-type" content="text/javascript" />
+<meta http-equiv="content-style-type" content="text/css" />
+<meta name="robots" content="noindex,nofollow" />
+<link rel="stylesheet" href="./dn.css" type="text/css" media="all" />
+</head>
+<body>
+<div id="container">
+<div id="contents">
+<h1><?php echo DONATION_TITLE; ?></h1>
+<h2>現在のステータス</h2>
+<table>
+  <tr>
+    <th>集まったポイント</th><td><?php printf('%d', $correct_point); ?>pt</td>
+  </tr>
+  <tr>
+    <th>義援金総額</th><td><?php printf('%d', $correct_point * POINT_VALUE); ?>円</td>
+  </tr>
+  <tr>
+    <th>顧客の保持ポイント合計</th><td><?php printf('%d', $total_point); ?>pt</td>
+  </tr>
+</table>
+
+<p>集まった義援金総額を, 義援金として日本赤十字社などにお贈り下さい</p>
+
+<h2>寄付いただいた顧客一覧</h2>
+<table>
+  <tr>
+    <th>寄付日時</th><th>顧客ID</th><th>お名前</th><th>寄付ポイント</th>
+  </tr>
+  <?php foreach ($arrDonations as $donation) { ?>
+  <tr>
+    <td><?php echo $donation[0]; ?></td>
+    <td><?php echo $donation[1]; ?></td>
+    <td><?php echo $arrCustomers[$donation[1]]['name01']; ?> <?php echo $arrCustomers[$donation[1]]['name02']; ?></td>
+    <td><?php echo $donation[2]; ?>pt</td>
+  </tr>
+  <?php } ?>
+</table>
+</div>
+</div>
+</body>
+</html>
Index: /branches/eccube-donation/html/mobile/frontparts/bloc/sample.tpl
===================================================================
--- /branches/eccube-donation/html/mobile/frontparts/bloc/sample.tpl	(revision 20622)
+++ /branches/eccube-donation/html/mobile/frontparts/bloc/sample.tpl	(revision 20622)
@@ -0,0 +1,1 @@
+<!--{include_php file=`$smarty.const.HTML_PATH`mobile/frontparts/bloc/send_point.php}-->
Index: /branches/eccube-donation/html/mobile/frontparts/bloc/send_point.php
===================================================================
--- /branches/eccube-donation/html/mobile/frontparts/bloc/send_point.php	(revision 20622)
+++ /branches/eccube-donation/html/mobile/frontparts/bloc/send_point.php	(revision 20622)
@@ -0,0 +1,151 @@
+<?php
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * 
+ * 2011-03-12 Tao Sasaki (tao@xross-cube.com)
+ *
+ */
+
+// {{{ requires
+if( !defined("CLASS_PATH") ){
+    require_once("../../require.php");
+}
+require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php");
+
+// }}}
+// {{{ generate page
+class LC_Page_FrontParts_Bloc_SendPoint extends LC_Page_FrontParts_Bloc {
+
+    // }}}
+    // {{{ functions
+
+    /**
+     * Page を初期化する.
+     *
+     * @return void
+     */
+    function init() {
+        parent::init();
+        $this->tpl_login = false;
+        $this->tpl_disable_logout = false;
+        $this->tpl_error = "";
+    }
+
+    /**
+     * Page のプロセス.
+     *
+     * @return void
+     */
+    function process() {
+
+        $objCustomer = new SC_Customer();
+        $objCustomer->updateSession();
+        // クッキー管理クラス
+        $objCookie = new SC_Cookie(COOKIE_EXPIRE);
+
+        // ログイン判定
+        if($objCustomer->isLoginSuccess()) {
+            $this->tpl_user_point = $objCustomer->getValue('point');
+            if (strlen($this->tpl_user_point) == 0) $this->tpl_user_point = 0;
+            if(isset($_POST["sendpoint"]) and $this->isValidToken()){
+                //ポイント寄付処理
+                $point = intval(mb_convert_kana($_POST["sendpoint"],"n"));
+                if(!$point or $this->tpl_user_point < $point){
+                    $this->tpl_error = "1以上のポイントを保有ポイント内で半角数字で入力してください。";
+                }else{
+                    $objQuery = new SC_Query;
+                    $sqlval = array('point' => ($this->tpl_user_point - $point));
+                    $where = 'customer_id = ? AND del_flg = 0 AND status = 2';
+                    $rs = $objQuery->update('dtb_customer', $sqlval, $where, array($objCustomer->getValue('customer_id')));
+                    if($rs){
+                        $fp = fopen(DATA_PATH.'downloads/donation.csv','a+');
+                        fwrite($fp,date("Y-m-d G:i:s").",".$objCustomer->getValue('customer_id').",".$point."\n");
+                        $objCustomer->setValue("point", ($this->tpl_user_point - $point));
+                        $this->tpl_error = "ご協力ありがとうございます。".$point."ptを承りました。<br />寄付頂いたポイント分を、東北地方太平洋沖地震の復旧活動へ寄付いたします。"; 
+                    } else {
+                        $this->tpl_error = "システムエラー";  
+                    }
+                }
+            }
+            $this->tpl_login = true;
+            $objCustomer->updateSession();
+            $this->tpl_user_point = $objCustomer->getValue('point');
+            if (strlen($this->tpl_user_point) == 0) $this->tpl_user_point = 0;
+            $this->tpl_name1 = $objCustomer->getValue('name01');
+            $this->tpl_name2 = $objCustomer->getValue('name02');
+        } else {
+            // クッキー判定
+            $this->tpl_login_email = $objCookie->getCookie('login_email');
+            if($this->tpl_login_email != "") {
+                $this->tpl_login_memory = "1";
+            }
+
+            // POSTされてきたIDがある場合は優先する。
+            if($_POST['login_email'] != "") {
+                $this->tpl_login_email = $_POST['login_email'];
+            }
+        }
+        $this->transactionid = $this->getToken();
+    }
+
+    /**
+     * デストラクタ.
+     *
+     * @return void
+     */
+    function destroy() {
+        parent::destroy();
+    }
+}
+
+$objPage = new LC_Page_FrontParts_Bloc_SendPoint();
+register_shutdown_function(array($objPage, "destroy"));
+$objPage->init();
+$objPage->process();
+
+?>
+<a name="sendPoint"></a>
+<div id="sendPoint" style="border: none;background: #FFF6CF;text-align: center;overflow: auto;">
+<div id="innner" style="border: 3px solid red;margin:8px;">
+<p><font color="red">東北地方太平洋沖地震へのポイント寄付のお願い</font></p>
+<?php if($objPage->tpl_login){?>
+<p><font size="-2" color="#333">現在お客様が保有している当店のポイントを東北地方太平洋沖地震の復旧活動へ寄付出来ます。<br />
+下記フォームに寄付するポイント数を入力の上、「寄付」ボタンをクリックしてください。<br />
+運営担当者が寄付されたポイントを集計し、東北地方太平洋沖地震の復旧活動に寄付させて頂きます。<br />
+<div id="sendForm">
+<p><font color="#FF0000"><?php echo $objPage->tpl_error; ?></font></p>
+    <form method="post" action="#sendPoint" name="sendPoint">
+        <input type="hidden" name="transactionid" value="<?php echo $objPage->transactionid ?>" />
+        <p><font size="-2" color="#333">現在お客様が保有しているポイント:<?php echo $objPage->tpl_user_point ?>pt</font></p>
+        <p>
+            <font size="-2" color="#333"><input type="text" maxlength="10" name="sendpoint" id="sendpointValue" value="" size="5" istyle="4" />ptを寄付</font><br />
+            <input type="submit" value="寄付" />
+        </p>
+    </form>
+</div>
+<?php }else{ ?>
+<p><font size="-2" color="#333">会員のお客様は、現在お客様が保有している当店のポイントを東北地方太平洋沖地震の復旧活動へ寄付できます。ログインしてご協力をお願いします。<br />
+</font><font size="3">- <a href="./mypage/index.php?">ログイン</a> -<br /></font>
+<font size="-2" color="#333">運営担当者が寄付されたポイントを集計し、東北地方太平洋沖地震の復旧活動へ寄付させて頂きます。</font></p>
+<?php } ?>
+</div>
+</div>
+
