Deprecated: mb_substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/kxs-php/controllers/NovelController.php on line 303
第50章 霸王不是人屠第一,也是人屠第二 - 典藏华夏:开局对话十大皇帝 跳转到主要内容

第50章 霸王不是人屠第一,也是人屠第二

作者:烽火重燃
(�/�d< �~��+?0 ��I�{�s�^rS��wАv�F�-k�0��b�c�Y��X,[nx�)FL"���Ԁ��T����>���� ��t �X�XW��T��|�� �!ǭ ����t�}�ө�{@q�iʚR�K)��q����iX:�B#�A�x�w-���Q���� 9�Fje��/��5��*�&-2H��f�_O����4,iXZGG��L�j��hKDA��J@.]���j��ű� �%�ߤ������†�4S �y>��jp�W�=ͭeu���̉LM�A� ������Ұ�4��qM.VR�V�uI� �[j�^f��K�i]��Z2&���2 ]:/v}y���A\c�E�-~V�a�U� ���eM��3i���-� ȘT?>Wd����ž�M ��%��2��ʒ�G>=Þ�g�=����r�}�;�AIӰT0�����I �U����j�!kK� �+.V�o-���������[GW��K&�x��IԔĠ� �/ {�Ӱ�!2�j��~^W�w�w*S�o�b6�D�H]m_�x��lY~p�|�����b"g��y��a5 K�m,�j��AVn�o� ˈ�E���� 򢡵�^*K&�͉-,+ ��!/ Ӱ�aM$cl�����/]�>�����؞�^֔Rc��嘺r�r�׳rf���أC�32�!��+�;�/7':�C�aɘd�=c�4,��Wۃ#�aɑ����.�pE Ӱ�\�u������†-_m/y�hHe��|l���%ҳr�،�G�#�L(?�ܲ\���hT�l��Y�̠ә�2P|>� ն���j�x�\M:su�iX6|��98>H� Y���7�W�sD��9�<�. KI�Sg�[�+�#27'N�GH��s�T�zTʻ��ֲ��5�3��L�<���^Y{Z�t�Ӕ !TiOsۥ�O��x���-�Ұ� |g����c��*��yf��D�q냋 ������!G~�< K ��IwF.�Ld��4,PM�Uy%uCY;6�ڞD���^�X厛��uh�s����"����&�P�#2�HnN4�>����.�:Ty*�oF���|:~��4,-%�,�ǖ)l�y����� c!��g,��ܜ�X����H����j���?��`�m!�JGP��[Ȗsz���'�N=�T���c7H�Y�H��NF��4ƹ�2��g��ŷN@@�����z[�Yyn>��6^��Φ���-� ��+��N�;�Ӭ/:]�}L�e�t��u�� �H�%xh�!��:}U���� -ˢI�@��E��A�vT&�O��Q�<ͯ��917��|}�AY޳�NҊ�l����OZ��+P��<$A��aӃ�wVƤ:��"�<}����hOs�I�RQ��fY�<��\�r��� �b8]M�:�괧9�����w��{}���97' X��s�]�CY'�����Af� ⚆�Cݎ���<�aYm�ym�W۟�K��1�f�ƻ���mhd�9+G*���OÒ�:�9��E�w����)����|V�i�R��Kò�~n�Ӽ�q�̋�n�<ƍ*3F���U�aV��"Ɨω|�}����Q"�;˃��X˛��� �wP< KOs�e�5�Z��WT��5㑇[��4?a�Y�\�I5�T�x�=�rg�e�V��,�\���e-0.j2FӰ��﬏���D|n��pk��J]mߡ.�k��wT�q7�Ӱ�45zaCB*��tMÒ:HIץ�O�vX�Xc� D0 D�@��b6X`$P�� �� � "�����l����ז��V{$~�|���������%���+Ֆ��'���أ!�/ �7Tx���!C�-�O�T�l\"iD|�4&dzР�㵸q�Yd��d�Y�q�g��F'x>�~S���yZù��6ތ��*�Jm��s��y�5B�i�q9"�J��k-+<��d-ύC֦R���f,d�=�rO�����c�tO󇥿�? �>����c��>�x��%�4V������3,�u/ c���o@�B�5͓,$ K̨+�&��@FN���,Q����yڼ�9(^�c 8jȬAx)kQ� ��I:�mY�l�T ���Q a�8#2  Q h�}�Y)� @4��DH��k'���֢=2�A'3���9Ҥs�ܼ���I�k��@� c�J��\yIc����k��� �.A��`����,�'-�&C�L{��~�V�{�et�.�5i�`�s�Ek�{�5X���G�҄*�0vQ� ���������`���@;ؾ��l.�X���ַ�Y�=�0s�3ar�Ϣ�!fb��)э�����O?A��'�'��D| �+�(��X �˞�\��j�(���e(&�wh���W3�A!v��)����;�=�R>7�WD$�F��CBH�U� �CI�-������h�8�T|O�RX�,�MR��_�R�Q���xڋg�إ�;������}43�����(U��M�g�nz* [(��44�[ c��u��8��Z-q�oANe�b8��+���f� ��@���^l/7�=xH�Qy������Au���E&3����U�Q�~L����bu_n-������$�T-�tX���a�}F��kR��*rRC���J�=�Z�͘*fSh�� ��zq�G��׃��(��*���J�QzE`��)“�D��a,{N�wx�*>��*, ${N�U� { // 初始化认证状态 initAuthState(); // 注意:阅读历史已由reading_history.js自动处理,无需手动调用 const themeToggle = document.getElementById('theme-toggle'); const themeToggleIcon = document.getElementById('theme-toggle-icon'); const html = document.documentElement; // 检查本地存储中的主题偏好 const currentTheme = localStorage.getItem('theme') || 'light'; html.classList.add(currentTheme); // 更新图标 if (themeToggleIcon) { themeToggleIcon.className = currentTheme === 'dark' ? 'ri-moon-line text-xl' : 'ri-sun-line text-xl'; } // 切换主题 if (themeToggle) { themeToggle.addEventListener('click', () => { const isDark = html.classList.contains('dark'); if (isDark) { html.classList.remove('dark'); html.classList.add('light'); localStorage.setItem('theme', 'light'); if (themeToggleIcon) { themeToggleIcon.className = 'ri-sun-line text-xl'; } } else { html.classList.remove('light'); html.classList.add('dark'); localStorage.setItem('theme', 'dark'); if (themeToggleIcon) { themeToggleIcon.className = 'ri-moon-line text-xl'; } } }); } // 字体大小调整 const content = document.querySelector('.reading-container'); const fontDecreaseBtn = document.getElementById('font-decrease'); const fontIncreaseBtn = document.getElementById('font-increase'); const readingModeBtn = document.getElementById('reading-mode'); const addBookmarkBtn = document.getElementById('add-bookmark'); // 从本地存储获取字体大小设置 let fontSize = parseInt(localStorage.getItem('fontSize')) || 18; content.style.fontSize = `${fontSize}px`; // 减小字体 fontDecreaseBtn.addEventListener('click', () => { if (fontSize > 14) { fontSize -= 1; content.style.fontSize = `${fontSize}px`; localStorage.setItem('fontSize', fontSize); } }); // 增大字体 fontIncreaseBtn.addEventListener('click', () => { if (fontSize < 26) { fontSize += 1; content.style.fontSize = `${fontSize}px`; localStorage.setItem('fontSize', fontSize); } }); // 阅读模式切换 readingModeBtn.addEventListener('click', () => { document.body.classList.toggle('reading-mode'); if (document.body.classList.contains('reading-mode')) { // 隐藏导航和其他元素,只显示内容区 document.querySelector('header').style.display = 'none'; document.querySelectorAll('.section-container > *:not(main)').forEach(el => { el.style.display = 'none'; }); document.querySelector('main').classList.add('reading-mode-active'); document.querySelector('.fixed.bottom-0').style.display = 'none'; // 隐藏移动端底部导航 } else { // 恢复正常显示 document.querySelector('header').style.display = ''; document.querySelectorAll('.section-container > *:not(main)').forEach(el => { el.style.display = ''; }); document.querySelector('main').classList.remove('reading-mode-active'); document.querySelector('.fixed.bottom-0').style.display = ''; // 显示移动端底部导航 } }); // 书签功能 addBookmarkBtn.addEventListener('click', () => { const bookmarks = JSON.parse(localStorage.getItem('bookmarks') || '[]'); const currentBookmark = { novelId: 'dchxkjdhsdhd', chapterId: '52163117', novelTitle: '典藏华夏:开局对话十大皇帝', chapterTitle: '第50章 霸王不是人屠第一,也是人屠第二', timestamp: new Date().toISOString() }; // 检查是否已存在相同的书签 const exists = bookmarks.some(bookmark => bookmark.novelId === currentBookmark.novelId && bookmark.chapterId === currentBookmark.chapterId ); if (!exists) { // 限制书签数量为10个 if (bookmarks.length >= 10) { bookmarks.pop(); // 移除最旧的书签 } bookmarks.unshift(currentBookmark); // 添加到最前面 localStorage.setItem('bookmarks', JSON.stringify(bookmarks)); // 显示成功提示 alert('书签添加成功'); } else { alert('书签已存在'); } }); });